Yes, it does save one process besides being shorter. Still it could give wrong results if cd fails. A true shell hacker ;) would write system('cd ... && ls') (would even use 'ls -1' to avoid terminal issues).
cheers --stephanIn reply to Re^3: Perl on cygwin (sh -c)
by sgt
in thread Perl on cygwin
by thunderbird
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |