Mailinglist Archive: yast-devel (26 mails)

< Previous Next >
Re: [yast-devel] Displaying Package Descriptions
  • From: Karl Eichwalder <ke@xxxxxxx>
  • Date: Thu, 09 Sep 2010 13:43:33 +0200
  • Message-id: <shfwxjrvkq.fsf@xxxxxxxxxxxxxxx>
Karl Eichwalder <ke@xxxxxxx> writes:

Johannes Meixner <jsmeix@xxxxxxx> writes:

On Sep 8 04:42 Tim Serong wrote (shortened):
# rpm -q --qf '%{DESCRIPTION}' $PACKAGE | sed \
-e 's/\&/\&amp;/g' \
-e 's/</\&lt;/g' \
-e 's/>/\&gt;/g' | awk \
'BEGIN { print "<pre>" } { print } END { print "</pre>" }'

Thanks, but <pre> is a no-op. These days, various PDAs with small
displays are in use, and then, there is this ncurses yast interface...

BTW, the BS is also one of these "players" and it keeps line-breaks, but
uses a proportional font... For example, see

This is why formatted text without self-explaining markup sucks.

Karl Eichwalder
R&D / Documentation

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups