2010-06-24 14:14:47     Stderr and stdout concatenation/redirection in shell scripts.

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-06-24 14:14:47     Stderr and stdout concatenation/redirection in shell scripts.

Nikolay Razbegaev (RUSSIAN FEDERATION)

Message: 90600   

 

Hello.

 

Which shell interpreter in uClinux distribution understand stderr and

stdout concatenation? Default busybox msh interpret '&>' construction

as '&' and '>' - i.e. run in background and redirect stdout.

 

Thank you.

QuoteReplyEditDelete

 

 

2010-06-24 14:19:13     Re: Stderr and stdout concatenation/redirection in shell scripts.

Mike Frysinger (UNITED STATES)

Message: 90602   

 

you must use POSIX compliant scripts.  bashisms (like "&>") are not supported.

 

msh has no job support, but redirection works just fine.

 

hush in the latest busybox (not in the 2009R1.1 release) supports jobs just fine though.

Attachments

    Outcomes