On Fri, Jul 25, 2014 at 11:23 AM, Kripa <[email protected]> wrote: > That code appears to work. Any hints or explanation would be gratefully > accepted. >
Answer - It's even harder to find an actual Bell Unix (Bourne) 'sh' shell today than an authentic Berkeley Csh. Most 'sh' are actually Bourne Again SHell (BASH) or later Gnu-ish/Linux derivatives there-of e.g. DASH, which incorporate a lot of CSH-isms. Ubuntu 14.04 DASH $ ls nonesuch >& /dev/null $ ls nonesuch >& err.1 $ cat err.1 ls: cannot access nonesuch: No such file or directory $ It works despite what we 'know' from System V man(1). -- Bill Ricker [email protected] https://www.linkedin.com/in/n1vux _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

