() Paul Eggert <egg...@cs.ucla.edu> () Mon, 23 May 2011 15:10:47 -0700
+ sed_extract_condition1='/^ *'"$escaped_dep"' *$/{ + s/^.*$/true/p + }' + sed_extract_condition2='/^ *'"$escaped_dep"' *\[.*\] *$/{ + s/^ *'"$escaped_dep"' *\[\(.*\)\] *$/\1/p + }' IIUC the curly braces are optional if they contain only one command. Is that not the case everywhere?