Hi All,
I was trying to run the cat command using perl SCRIPT for my daily reports.
However cat command is not working in PERL.
please help me.
cat FILE1.txt |cut -d "|" -f1 >INPUT1.txt
cat FILE2.txt|wc -l *9111*|>INPUT2.txt
paste INPUT1,INPUT2 >OUTPUT.txt
```[/b]
Thanks in advance
Regards
Adaleru
make the script executable.
Or use backticks.
Hi Nandy,
Thanks for your reply.
However its working fine in unix box, if i try to invoke this command in to perl its not working.
pludi
4
What error do you get? And why invoke the cat command at all if Perl is perfectly capable of text processing (hint: it was designed for this)?
Aside from that, your second command doesn't really make sense, as wc either reads from files or from stdin.