At 03:43 PM 8/19/2009 -0500, Fei Shi wrote: >Only when I run the code below I have a little problem: >*cat ids_overlap_* | sort -u > "a file name"* > >I have 3 files named as *ids_overlap_*(21Us/coding/ram)*. The error message >is: >*The system cannot find the file specified. >cat.exe: write error : invalid argument*
Why are there star characters there? If u are trying to run that line from within a perl script it won't work. system 'cat ids_overlap_* | sort -u > "a file name"'; or @return = `cat ids_overlap_* | sort -u > "a file name"`; -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
