std redirect
This commit is contained in:
parent
6cf54711b9
commit
d3a61ea47c
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo stdout
|
||||||
|
echo stderr >&2
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
exec 3>&1
|
||||||
|
./print.sh 2>&1 1>&3 | sed 's~std~std_changed~'
|
Loading…
Reference in New Issue