On Wed, 25 Aug 2004, Igor Pechtchanski wrote: > How about > > ENCODINGS=`( > cd /usr/X11R6/lib/X11/fonts/encodings && ls microsoft-cp* | sed -e 's/.enc$//' > test -r "$ENC_FILE" && sed -e 's/#.*$//' -e '/^ *$/d' "$ENC_FILE" > ) | sed -e 's/^/-a /'`
seams reasonable. > Again, what about something like > > ( > ls -d /usr/X11R6/lib/X11/fonts/* > test -r "$DIR_FILE" && sed -e 's/#.*$//' -e '/^ *$/d' "$DIR_FILE" > ) | while read fontdir; do this too. > I'm sure there's a way to make the above shorter, but if it works, why > bother? Looks reasonable. I'll think I'll add this to xorg-x11-bin in the next release and adjust the post-install scripts for the font packages bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723