[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inverted piped commands
From: |
eric miranda |
Subject: |
Re: Inverted piped commands |
Date: |
Mon, 27 Jun 2011 17:07:27 -0300 |
Got it!
A file which I was using to grab those variables values were DOS formatted.
Thank you!
Eric
2011/6/27 eric miranda <address@hidden>
> 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]