Bill Sommerfeld wrote: > On Thu, 2007-11-01 at 21:36 -0700, Danek Duvall wrote: [snip] > > As you'll probably note from the result of this, it's really not suitable > > for processing with your favorite shell tools, > > looking at the output of your first example, the biggest problem I see > for subsequent processing is that irrelevant fields (such as for links) > are filled with whitespace. using a token such as "-" as a placeholder > would help -- but if the missing fields are determined by the action a > reasonable script could cope with the existing format (certainly > anything that grovelled /var/sadm/install/contents would have to do > that..)
Erm... in shells (at least the POSIX shell) empty strings are usually represented by '' or $''. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
