PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

want shell should I learn 19


Your Ad Here

Your Ad Here

That's okay. It happens to all of us. :-)

I guess it's a matter of opinion.

In the csh case, parentheses are commonly used for making a is common to both methods. The '&' is used to represent and or addition in other contexts, so it seems reasonably natural that it would mean "redirect stdout and points, the routing of the output-errors is pretty clear.

want shell should I learn 20
Try "man sh", man "ksh". Look for ways to make the shells identify themselves, something like "sh --version". I havn't used AIX for about ten...

It isn't obvious to this casual observer what '1' and '2' should mean in connection with I-O redirection. IIRC, there's a .h file somewhere that defines one of them as stdout and the other as stderr, but the purpose of such .h file definitions is to remove the necessity to memorize such arbitrary numeric constants.

Some years ago, when I had to do bash-syntax I-O redirection, I looked in the supplied library's code and cut-and-pasted whatever non-obvious sequence of digits and punctuation symbols would do what was needed to put both stdout and stderr to a pipe or file. I would have found

That's the one thing that sometimes you cannot do with csh I-O redirection syntax. Many times, if you know that stdout would naturally be going todev-tty, you can send it there by name and send stderr elsewhere:

-- Robert Riches (Yes, that is one of my email addresses.)



Your Ad Here

List | Previous | Next

want shell should I learn 20

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

want shell should I learn 18