in reply to Trying to strip the Pipe "|" character from a string
I thinks its because pipe is a special character
Yes, that is the problem. Whenever you encounter a special character, you escape it:
s/\|//;
But since you're just getting rid of this character, it's faster to use tr///:
tr/|//d;
IIRC, tr/// does't require you to escape ''|", because its special chars are more limited.
----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.
|
|---|