[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inverted piped commands
From: |
eric miranda |
Subject: |
Inverted piped commands |
Date: |
Mon, 27 Jun 2011 16:50:33 -0300 |
Dear experts,
I'm facing an issue wich I can't figure out how to solve.
I wrote a script that contains a line:
...
cat MATRIZ/HDLM_MATRIX.txt|grep -i "${OSFULLNAME}"|grep -i
"${HBAMANFAC}"|grep q
...
But, when executed it inverts (as far as i noticed it) the order of the
piped commands, returning nothing:
...
+ cat MATRIZ/HDLM_MATRIX.txt
+ grep -i QLogic
+ grep q
+ grep -i Windows 2003 SP2 (X64 / x86_64)
...
Why is bash messing up my life? :)
tnx in advance!
[As partes desta mensagem que não continham texto foram removidas]