You're replying to a comment by Abhishek.

Abhishek Permalink
July 24, 2014, 07:57

I have one question...
say i have a set of sed commands in file (All replace and delete statements)
i run those file commands on any file using -f . sed -f commandSetFile InputFile
Now i ran into a condition where i need to run those commands only on the even no lines of a given file i.e run the sed commandSetFile commands only on line no 2,4,6 and so on.
How can i do that ?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_117": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.