ioana has asked for the wisdom of the Perl Monks concerning the following question:
ls -r1 *BC*.txt | grep -v Liver |awk '{split ($1,name,".");\ printf name[1]"\n"}' > BCfile.name
system("ls -r1 *BC*.txt | grep -v Liver |awk '{split ($1,name,".");\ printf name[1]"\n"}' > BCfile.name");
I guess it has something to do with the use of "" inside the '' marksBackslash found where operator expected at new.perl line 6, near ""); +printf name[1]"\" (Missing operator before \?) syntax error at new.perl line 6, near ""); printf name[1]"\" String found where operator expected at new.perl line 6, near "n"}' > +BCfile.name""
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system call in Perl
by antirice (Priest) on Jul 10, 2003 at 04:04 UTC | |
|
Re: system call in Perl
by graff (Chancellor) on Jul 10, 2003 at 06:53 UTC | |
by blue_cowdawg (Monsignor) on Jul 11, 2003 at 15:38 UTC | |
|
Re: system call in Perl
by sauoq (Abbot) on Jul 10, 2003 at 04:05 UTC | |
|
Re: system call in Perl
by The Mad Hatter (Priest) on Jul 10, 2003 at 04:06 UTC | |
by sauoq (Abbot) on Jul 10, 2003 at 04:09 UTC | |
by The Mad Hatter (Priest) on Jul 10, 2003 at 04:12 UTC |