logo elektroda
logo elektroda
X
logo elektroda

Inserting the | Pipe Character for Scripting on Different Keyboards

danshi 69533 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 719640
    danshi
    Level 12  
    jo

    how to insert this "|" character from the keyboard, needed to write scripts ??

    danshi 8)
  • ADVERTISEMENT
  • #2 719746
    Akane
    Level 27  
    you press the left ALT and on the numeric part of the keyboard you type 124, you let go of ALT
  • #3 719790
    jiwaniuk
    Level 31  
    For me, this sign is on the key (Back Slash + Shift) |.
    I guess this is his standard spot.

    I greet everyone

    jjanek
  • ADVERTISEMENT
  • #4 720551
    danshi
    Level 12  
    jo

    well, but when I type this character, it is interrupted instead of a straight vertical line! Is it the same sign - does it fulfill the same function?

    danshi 8)
  • #5 720583
    Akane
    Level 27  
    I wrote a program that shows the ascii code of the first character from the clipboard - copy the | character to the clipboard and run the program, and it should write

    sign | has the code 124
    press enter
  • #6 721088
    elektryk
    Level 42  
    danshi wrote:
    well, but when I type this character, it is interrupted instead of a straight vertical line! Is it the same sign - does it fulfill the same function?
    Best check it out, you'll know for sure. In my opinion it is the same.
  • ADVERTISEMENT
  • #7 723592
    badboy
    Level 12  
    you have to press shift and the key that has a slash and a dashed dash (I don't know what it's called :P ) for me it is near backspace, and in other keyboards I saw enter below
    here is an example that it works ||||||||||||||| ;)
    best regards
  • #8 723602
    Dr.Zepsuj
    Level 20  
    it is the same character as the dash with a gap. | . Enter it in the attacker you will see.
  • #9 723616
    Akane
    Level 27  
    if you have a german keyboard then (polish programmer's layout) "shift" + "#" enter wheel
  • ADVERTISEMENT
  • #10 724006
    ad_min
    Level 12  
    this character is a circle [enter] above shift (you press shift + \ and it becomes ||||||| ..... at least that's the way it is on my keyboard) ...... you can also try the array of characters .... Start -> programs -> accessories -> system utilities (I think) -> character table ..... you have to find it there
  • #11 725079
    zeberko
    Level 32  
    My keyboard
    |||||
    Shift + the first key to the left of backspace
  • #12 726618
    danshi
    Level 12  
    jo

    It just so happens that I know how to insert this character under windows, but I don't want to insert it under linux, or rather when writing a script in the shell (instead of a vertical line, a vertical broken line pops up).

    danshi 8)
  • #13 726639
    zoltar
    Level 24  
    As it is a script in schelu and on linux, it is definitely a processed dash. There is the so-called dynamic stream. If you want one comedy to affect the other, for example: "ls -l | grep log".
  • #14 729516
    danshi
    Level 12  
    jo

    Well, this is what I mean by inserting this character, a broken vertical line pops up and I do not know if it is the same as the processed line.

    danshi 8)

    Then just read the answers :(

Topic summary

The discussion revolves around how to insert the pipe character "|" for scripting purposes on various keyboard layouts. Users provide multiple methods for different keyboards, including pressing "Shift" with the backslash key, using "ALT" with the numeric code 124, and specific combinations for German and Polish keyboards. There are also mentions of issues with the character appearing as a broken line instead of a straight vertical line, particularly in Linux environments. The ASCII code for the pipe character is confirmed to be 124, and users suggest checking character maps for additional solutions.
Summary generated by the language model.
ADVERTISEMENT