kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
I get a zero byte file of $_admin_temp_file when i run through perl. But it gives the matched output when i run through UNIX.the unix command i ran is egrep -f temp_qc_file.txt temp_qc_running_file.txt > temp_file.txt My perl code is `egrep -f "$_proj_file" "$_running_file" > "$_admin_temp_file"`; I even printed the filenames ($_proj_file, $_running_file,$_admin_temp +_file) and its correct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem in running UNIX command through perl
by ikegami (Patriarch) on Oct 27, 2008 at 22:03 UTC | |
|
Re: problem in running UNIX command through perl
by toolic (Bishop) on Oct 27, 2008 at 23:42 UTC | |
by marcussen (Pilgrim) on Oct 28, 2008 at 00:53 UTC | |
by mpeever (Friar) on Oct 28, 2008 at 01:43 UTC | |
|
Re: problem in running UNIX command through perl
by ig (Vicar) on Oct 27, 2008 at 22:37 UTC | |
|
Re: problem in running UNIX command through perl
by ccn (Vicar) on Oct 28, 2008 at 06:16 UTC | |
|
Re: problem in running UNIX command through perl
by rovf (Priest) on Oct 28, 2008 at 09:52 UTC | |
|
Re: problem in running UNIX command through perl
by zentara (Cardinal) on Oct 28, 2008 at 13:08 UTC |