dev/bash/stdredirect/redirect.sh

5 lines
71 B
Bash
Executable File

#!/bin/bash
exec 3>&1
./print.sh 2>&1 1>&3 | sed 's~std~std_changed~'