Hacker News new | ask | show | jobs
by hawski 3413 days ago
I would do this in awk. I could specify the line numbers. Or I could use the editor option to pass selection through said awk script. Or I could pipe xclip to and from the script.

Someone else could do it with sed, but I prefer awk.