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.
Writing specific lines to new file
Name: Lion1000 Date: February 20, 2008 at 18:29:13 Pacific OS: Unix CPU/Ram: Intel 1GB Product: Intel
Comment:
Hi, I have a file with 60 lines. I want to write from line 10-20 to one file, 21-40 to another new file, 41-60 to another new file. Can anybody please help me on this?
Summary: Hi I would like to insert a line to many files in a directory : for example: abc has to be inserted to files harry.pf barry.pf tom.pf The common denominator for these files are the "*.pf" I need to in...
Summary: I'm trying to remove a specific line from a file based on a user defined input. I had found a similar situation where sed was used, but when I tried using it in my script, sed had trouble with the...
Summary: I forgot the command, but i need to view the specific line of the file.. lets say: I have a list of names in the file called "names" for example Modanna George Bush Jacques Chirac and i wanna display...