Skip to main content
8 events
when toggle format what by license comment
Jul 24, 2011 at 14:22 comment added starfry When researching I found this but could never get it to work: info.birnamdesigns.com/wiki/Sed_insert_after_last_match
Jul 23, 2011 at 7:35 vote accept starfry
Jul 22, 2011 at 13:02 answer added Gilles 'SO- stop being evil' timeline score: 3
Jul 22, 2011 at 12:22 comment added starfry I was trying to achieve one script that I can apply all changes to the file in one go. Yes I could do different changes in different ways but I hoped to self-contain all alterations to one file in one script. There's nothing wrong with tac/awk/grep/sed combinations - I've used them many times. For this particular problem I wanted to get a single sed solution.
Jul 22, 2011 at 12:09 comment added Philomath can you explain what's bad with using tac (or just awk, for that matter)? why do you need pure sed only?
Jul 22, 2011 at 9:19 answer added Caleb timeline score: 0
Jul 22, 2011 at 9:16 history edited Caleb CC BY-SA 3.0
deleted 24 characters in body
Jul 22, 2011 at 9:11 history asked starfry CC BY-SA 3.0