Red Hat Bugzilla – Bug 69194
Bash pipe character works weirdly
Last modified: 2007-04-18 12:44:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020701
Description of problem:
Bash works diffrently depending on whitespace.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
[petri@dsl-hkigw4l83 petri]$ rpm -qa | grep vorbis
bash: grep: command not found
[petri@dsl-hkigw4l83 petri]$ rpm -qa |grep vorbis
What locale are you running in? This works for me.
[petri@dsl-hkigw4l83 petri]$ locale
I should correct "How reproducible:" field to perhaps "sometimes." I cannot
repeat this always but I have seen this behaviour many times.
Are you perhaps pressing 'shift-space' by accident?
Can you get this to happen inside a 'script' session? If so, the resulting
typescript would be interesting to look at.
Think I see what's going on: you have:
rpm -qa |*grep vorbis
where '*' is a UTF-8 character that looks just like a space.
For example, AltGr+Shift+6 produces such a character.
Yeah, maybe that is the the problem. I can delete this 'magic' character with
backspace. The problem with this is:
a) I don't how can I manage to always type that invisible character.
b) Why on earth there must other invisible characters than space! ;)
Space must be the only invisible character, others must always print some trash.
This would make people's life lots of easier.