| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 11 months |
| seen | Apr 12 at 5:24 | |
| stats | profile views | 13 |
|
May 28 |
awarded | Yearling |
|
Mar 24 |
comment |
Redirecting/grep'ing an existing shell's STDOUT You're welcome! Glad you got it to work. |
|
Mar 23 |
answered | Redirecting/grep'ing an existing shell's STDOUT |
|
Jun 2 |
awarded | Supporter |
|
Jun 2 |
comment |
Precedence of stdin and stdout redirection in Bash @dpacmittal The first example, ls > foo 2>&1, operates like this: first, standard output is redirected to foo, then, standard error is redirected to standard output, which is now the file foo. The second example, ls 2>&1 > foo, operates like this: standard error is redirected to standard output before standard output is redirected to foo, so standard error is echoed locally instead of being directed to the file. |
|
Jun 2 |
comment |
Precedence of stdin and stdout redirection in Bash @fpmurphy bash is generally POSIX compliant, except in the situations outlined here, where the default bash behavior differs. To make bash conform more, you can use the --posix option. |
|
Jun 2 |
answered | Precedence of stdin and stdout redirection in Bash |
|
Jun 2 |
awarded | Teacher |
|
Jun 2 |
answered | Is there a pager that stops on form feeds? |