Incorrect use causes sh.exe to spoon infinitely

leledumbo <leledumbo_cool-/E1597aS9LSez0ei9/[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
Try running this buggy script:

for fin in `ls`; do
  # notice the missing backtick (`)
  fout=echo $fin | sed 's/\..*//'
done

And (quickly) open task manager, you'll see a lot (and growing) of sh.exe
processes.

-- 
View this message in context: http://www.nabble.com/Incorrect-use-causes-sh.exe-to-spoon-infinitely-tp24673656p24673656.html
Sent from the MinGW - MSYS mailing list archive at Nabble.com.


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.