Hi there I was hoping that someone could help me.
I would like to do the following:
I have a file called "test" which has the below lines in it:
test test test test 2000
test test test 1000 test
test test 2000 2000 2000
test test test test test
I would like to run the sed command against this file. The command should delete all the lines in the file containing 2000 and output the complete deleted lines into a new file called new_test.
Any help would be fantastic thanks!
S
I would like to do the following:
I have a file called "test" which has the below lines in it:
test test test test 2000
test test test 1000 test
test test 2000 2000 2000
test test test test test
I would like to run the sed command against this file. The command should delete all the lines in the file containing 2000 and output the complete deleted lines into a new file called new_test.
Any help would be fantastic thanks!
S