Hello,
On Sep 8 04:42 Tim Serong wrote (shortened):
# rpm -q --qf '%{DESCRIPTION}' $PACKAGE | sed \
-e 's/\&/\&/g' \
-e 's/</\</g' \
-e 's/>/\>/g' | awk \
'BEGIN { print "<pre>" } { print } END { print "</pre>" }'
I suggest to insert a "fold -s -w 80" before the "sed"
to break possibly too long lines in the RPM description...
;-)
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]