Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by Anonymous Monk
on Mar 29, 2017 at 18:37 UTC ( #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? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-01-17 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?