Search Results

Search: Posts Made By: Adarshreddy01
9,508
Posted By wisecracker
As is often the case with a little bit of jiggery...
As is often the case with a little bit of jiggery pokery there is a pseudo-back-door.
The storage device can be your friend although it will slow things down with the disk thrashing and huge...
9,508
Posted By bakunin
As Ravinder has already said it is because of the...
As Ravinder has already said it is because of the pipeline. Basically in classical Bourne Shell (and its descendants, bash - Bourne Again Shell - among them) code like this:

process1 | process2
...
9,508
Posted By Peasant
It's good to mention that there is a major...
It's good to mention that there is a major difference between bash and ksh running the same code.
Which is expected due to ksh / bash difference in implementation.


# ./in_ksh.sh
Outside loop...
9,508
Posted By RavinderSingh13
Hello Adarshreddy01, IMHO that's because you...
Hello Adarshreddy01,

IMHO that's because you are passing output of cat file1 command to while loop which is considered as a new shell(or in other language creates a sub shell to execute while...
12,428
Posted By Corona688
Yes, the problem is not the loop but the pipe;...
Yes, the problem is not the loop but the pipe; things behind a pipe are executed in a separate subshell and don't modify variables in your original shell. Temporary files are actually a pretty good...
Showing results 1 to 5 of 5

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