Search Results

Search: Posts Made By: btherl
18,567
Posted By btherl
Thankyou vino! That looks perfect. Thankyou...
Thankyou vino! That looks perfect.

Thankyou anbu also for your suggestion!
18,567
Posted By btherl
But I want the output of gzip to go into sort..
But I want the output of gzip to go into sort..
18,567
Posted By btherl
Checking return value of commands in pipe
Hi,

I am wondering how I can check the return value of all commands in a pipe such as

gzip -dc file.gz | sort -u > output.txt

If I run this sequence in bash and check $?, I get the return...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy