Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: UN*X ls, sed, cat... in Perl

by graff (Chancellor)
on Apr 17, 2005 at 04:58 UTC ( [id://448583]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @files = reverse (sort { $files{$a} <=> $files{$b} } keys %files);
    
  2. or download this
    @files = sort { $files{$b} <=> $files{$a} } keys %files;
    
  3. or download this
    my $redirect = ( $TRACE < 2 ) ?  '>' : '| tee';
    
    system( "sed s/{author}.*//g <$file $redirect ${file}1.txt";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://448583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found