Bug 427055 - Bad shell command in sample code
Bad shell command in sample code
Product: Fedora Documentation
Classification: Fedora
Component: release-notes (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Paul W. Frields
Karsten Wade
Depends On:
  Show dependency treegraph
Reported: 2007-12-30 13:49 EST by Stef Van Vlierberghe
Modified: 2008-01-02 17:15 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-02 17:15:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stef Van Vlierberghe 2007-12-30 13:49:47 EST
Description of problem :

The documentation shows a command to save the package list as :

rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH} > ~/old-pkglist.txt'

Obviously the single quote at the end is misplaced, and also a --qf option
should be followed by a '\n', otherwise the output is not suitable for use with

After correcting these two errors :

rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txt

Note that the error is multiplicated in the various translations.
Comment 1 Karsten Wade 2007-12-30 14:30:45 EST
Good observations, thanks.  I'm not sure if/when Paul has an update to the F8
version planned, but such updates usually include time to update the
translations.  Fortunately, we might be able to just do the tweak in all the
translated versions, since that block is probably not a translated string.

Reassigning to package maintainer.
Comment 2 Paul W. Frields 2008-01-02 17:15:23 EST
Fixed in CVS and to be published shortly.  Thanks for catching this problem.

Note You need to log in before you can comment on or make changes to this bug.