Glenn, does tar.sh support filenames, option arguments or patterns
with spaces? I've doubts; looking at the code, for example this line
($owner is a bad example option but a simple example to explain the
trouble):
                options+=" --owner $owner"

Isn't it better to declare options as an array and replace the
statement above with:

options+=( "--owner" )
options+=( "$owner" )

and call pax as

pax $mode "${options[@]}" "$file" $xstring "$@"

This allows options with special character like spaces and avoids the
eval statement. This leaves $xstring, for which I'm not sure how to
handle it.

Lionel
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to