diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-21 11:20:43 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-21 11:20:43 +0200 |
commit | f4d044d4b6cbb2d2648a170cefa45befba3af3d5 (patch) | |
tree | 3ff5c5bdd3a1536555bef48265123813fceeb622 /p | |
parent | e8e3d60b8c258bd7604457ad0db0c2017f50af3e (diff) | |
download | xutil-f4d044d4b6cbb2d2648a170cefa45befba3af3d5.tar.gz |
p: Capture stderr
Diffstat (limited to 'p')
-rwxr-xr-x | p | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,6 +2,6 @@ # p -- maybe view command output in pager -[ -t 0 ] && exec /bin/sh -c '"$@" | "$0"' "$0" "$@" +[ -t 0 ] && exec /bin/sh -c '"$@" 2>&1 | "$0"' "$0" "$@" cat | tee /var/tmp/pg |