[Bug 427055] New: Bad shell command in sample code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=427055

           Summary: Bad shell command in sample code
           Product: Fedora Documentation
           Version: devel
          Platform: All
               URL: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-
                    upgrade-tree.html
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: release-notes
        AssignedTo: relnotes@xxxxxxxxxxxxxxxxx
        ReportedBy: stef.van-vlierberghe@xxxxxxxxxx
         QAContact: kwade@xxxxxxxxxx


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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

--
Fedora-relnotes-content mailing list
Fedora-relnotes-content@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-relnotes-content

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Gnome Users]     [KDE Users]

  Powered by Linux