I want to know how I can print only certain lines in a file? Say, if I only want to redirect lines:
2, 3, 5, 7, and 14?
I know in sed you can only print a range like 2-15, but I want to redirect only certain lines. I cant fgrep or grep because there is never the same variables in the file. It is always different. Thanks, BeasteR
2, 3, 5, 7, and 14?
I know in sed you can only print a range like 2-15, but I want to redirect only certain lines. I cant fgrep or grep because there is never the same variables in the file. It is always different. Thanks, BeasteR