[oracle@oadb ~]$ cat -n a2.sh 1 sh ./xx.sh select * 2 from 3 test [oracle@oadb ~]$ cat a2.sh | tr " " " " sh ./xx.sh select * from test [oracle@oadb ~]$