dev/bash/stdredirect/redirect.sh

5 lines
71 B
Bash
Raw Normal View History

2011-07-08 23:02:41 +04:00
#!/bin/bash
exec 3>&1
./print.sh 2>&1 1>&3 | sed 's~std~std_changed~'