Perl: Printing line numbers to matched strings and hashes.

view full story

http://www.unix.com – Florida State University, Tallahassee, FL, USA, Dr. Whalley, COP4342 Unix Tools. This program takes much of my previous assignment but adds the functionality of printing the concatenated line numbers found within the input. Sample input from <> operator: Hello World This is hello a sample program this program. The output from above should be: hello: 2 times, lines 1, 2 world: 1 times, lines 1 this: 2 times, lines 2, 4 sample: 1 times, lines 3 program: 2 times, lines 3, 4 is: 1 times, lines: 2 Due to this being a current assignment I cannot submit all of my cod (HowTos)