Skipping xth and yth records in a file

1 post / 0 new
Anonymous
Skipping xth and yth records in a file

 

I have a flat file, I want to skip the xth record and yth record from top.
 
For eg
 
My input file file has 200 records, I wish to skip 5th and 100th record from top.
 
Can some one tell me how to do this using Sort?
 
-Ankit
"; ; ; ;
Sponsored Listing