Bug 427055 - Bad shell command in sample code
Summary: Bad shell command in sample code
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora Documentation
Classification: Retired
Component: release-notes
Version: devel
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Karsten Wade
URL: http://docs.fedoraproject.org/install...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-30 18:49 UTC by Stef Van Vlierberghe
Modified: 2008-01-02 22:15 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-02 22:15:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Stef Van Vlierberghe 2007-12-30 18:49:47 UTC
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
diff.

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 19:30:45 UTC
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 22:15:23 UTC
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.