Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Need a little help appending lines

by johngg (Canon)
on Sep 11, 2007 at 21:31 UTC ( [id://638439]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat spw638403.txt
    aajkaj  XYZtcpHJHKtcpKJHKH
    ...
    Address2=
    Address3=
    $
    
  2. or download this
    #!/usr/bin/perl -i.bak
    #
    ...
        s{$}{$list[$. - 1]};
        print;
    }
    
  3. or download this
    $ ./spw638403 spw638403.addr
    $ cat spw638403.addr
    ...
    Address2=JKHKJH
    Address3=NHY
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-19 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found