I have a file with over 5M lines in it. I want to use sed to remove any line where x > 91. In order to get X, I have some logic to run, therefore piping it to sed rewrites 5M + lines for every line it processes. I remember seeing a way of running a conditional sed (sed '/s'/'if etc'/') but can't remember the format. Any out there have any ideas???
Thanks
Will
Thanks
Will