Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Does problem is in the for loop???

by afoken (Chancellor)
on May 11, 2015 at 10:21 UTC ( [id://1126293]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -E "open IN,'<','/etc/group'; open OUT,'>','/tmp/foo'; while (<I
    +N>) { print OUT if /adm/; } close OUT; close IN;"
    >cat /tmp/foo
    sys:x:3:root,bin,adm
    adm:x:4:root,adm,daemon
    disk:x:6:root,adm
    >
    

Log In?
Username:
Password:

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

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

    No recent polls found