Public feed #727051

convivial

public text v1 · immutable
Raw Edit
·published 2007-10-05 18:36 UTC
rendered paste body
-- input file is -----
"aaa" || "bbb"
this is 
if ( "ccc" && "ddd"
junk

------- desired output is ---------
aaa
bbb
ccc
ddd

------------- script file is -----------------
s/||/\n/g
s/&&/\n/g
s/"/&/g
s/.*"\(.*\)".*/\1/p

----------- result is ------------------
sed -nf scr1 fu
bbb
ddd