[Tfug] OK, I need one more funky little sed or bash code...
Jim March
1.jim.march at gmail.com
Sat Mar 27 00:17:23 MST 2010
Folks,
I need to find every line that ends with a "{" character and put a new
line right above it, exactly like this:
} #
...ONLY so long as that line to be added doesn't already exist!
Follow? Now, lines that end in "{" vary. Here's some examples:
threaten voting equipment={
gather knowledge={
from insider={
They're all indented with either six or eight or maybe 10 and even 12
spaces...maybe that'll help, I dunno.
Anybody?
:)
Thanks!
Jim
More information about the tfug
mailing list