|
Re: fesh,esh output redirection problem
|
10/01/2010 6:10 AM
post69235
|
Re: fesh,esh output redirection problem
>
> Currently neither esh/fesh support redirection for print/eecho or the
> alias command.
>
> Prior to performing file globbing if the command parser detects either
> the '>' or '<' redirection symbols in the command line it either creates
> an empty file for writing or attempts to open one to read from. This
> explains the behavior you have observed so far.
>
> While I know this doesn't quite answer your question as to why things
> are like this but if we keep in mind that redirection is not supported
> for those commands then adding redirection symbols in the command line
> can be classified as unspecified behavior. Redirection support can be
> added to those commands with relative ease though.
Yes, I agree after looking at the esh source.
At the moment the "redirection feature for buildin commands" is not mission critical for my project, but I think this
feature would be very senseful for the embedded shell.
What do you think?
|
|
|