Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Determine new line number in revised file given old line number

by Anonymous Monk
on Mar 29, 2017 at 18:37 UTC ( [id://1186418]=note: print w/replies, xml ) Need Help??


in reply to Determine new line number in revised file given old line number

Sample inputs & expected output?
  • Comment on Re: Determine new line number in revised file given old line number

Replies are listed 'Best First'.
Re^2: Determine new line number in revised file given old line number
by ExReg (Priest) on Mar 29, 2017 at 19:27 UTC

    Version1.txt

    Line1 Line2 Line3 Line4

    Version2.txt

    Line1 Line3 Linenew Linenewagain Line4
    updated_line_number.pl Version1.txt Version2.txt 1 1 updated_line_number.pl Version1.txt Version2.txt 2 0 updated_line_number.pl Version1.txt Version2.txt 3 2 updated_line_number.pl Version1.txt Version2.txt 4 5

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found