8 Sep
2010
8 Sep
'10
11:07
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: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org