Il 16/03/2012 13:29, Lee Essen ha scritto: > @@ -123,7 +123,7 @@ get_argc() > # Get the format string including double quotes for a trace event > get_fmt() > { > - puts "${1#*)}" > + puts "${1#*}" > } >
Eric, can you look at this? Is it a bashism or a Solaris bug? I would write it, to be entirely safe, as local fmt fmt=${1#*\)} puts "$fmt" where I'm using the extra variable to avoid the ambiguity of quoting the parentheses within quotes; variable assignments are always implicitly quoted. Paolo