Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Creating duplicate lines
Name: hameds Date: March 20, 2008 at 08:20:50 Pacific OS: UNIX CPU/Ram: n/a Product: n/a
Comment:
Hi, I am in need of a regular expression that will create duplicate lines for any line starting with a certain character. For instance if i had:
Summary: ive tried all the possibilties on the sed one liners sites, and tried everything mysefl, but i cant figure it out... ive got a file, containing duplicate lines, like this delete from itm.tb_wf_object...
Summary: hai, i want to remove duplicate lines from any part of the file...uniq command is used to remove only the adjacent duplicate lines...if we use sort command with -u option it removes duplicate lines ...
Summary: URGENT HELP NEEDED... I need to know how to delete duplicate lines from a pipe delimited file (ksh). it should check only the 1st field for any duplicate entries & if finds any should delete those dup...