Search Results

Search: Posts Made By: jryan
Forum: Red Hat 05-19-2009
2,659
Posted By jryan
ls -1 2>/dev/null | while read LAND_FILE do ...
ls -1 2>/dev/null | while read LAND_FILE
do
...code
done

This spawns a subshell.

while read LAND_FILE <(ls -1 2>/dev/null)
do
...code
done

This doesn't spawn a subshell.

We...
Forum: Red Hat 05-18-2009
2,659
Posted By jryan
Turn off subshelling of pipe
After searching the forum, I found that Bash spawns a subshell when using the pipe. I am wondering if there is an option or any other way to turn off this fuctionality.

We are pulling over some...
Showing results 1 to 2 of 2

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