[Wien] redirection error for /dev/stderr
tasaka at affinity-science.com
tasaka at affinity-science.com
Mon Aug 5 02:47:43 CEST 2013
Hi,
I found some systems can't operate the following alias in lapwdmpara and lapwsopara.
alias sortoutput 'if (-f .stdout\!:1) bashtime2csh.pl_lapw .stdout\!:1 > .temp\!:1
; grep 0k .temp\!:1 >> .time\!:1; grep -v 0k .temp\!:1 >> /dev/stderr'
it's because of the permission problem about /dev/stderr device.
so, for example, I think it should be modified as below:
alias sortoutput 'if (-f .stdout\!:1) bashtime2csh.pl_lapw .stdout\!:1 > .temp\!:1
; grep 0k .temp\!:1 >> .time\!:1; grep -v 0k .temp\!:1 | perl -e "print stderr <STDIN>"'
With best regards,
Tomo
More information about the Wien
mailing list