After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336751 - error in example in zenity man page
error in example in zenity man page
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-31 17:16 UTC by Daniel Holbach
Modified: 2006-03-31 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix manpage's use of find (535 bytes, patch)
2006-03-31 17:18 UTC, Daniel Holbach
none Details | Review

Description Daniel Holbach 2006-03-31 17:16:38 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/zenity/+bug/21683

The 'zenity' man page has this example:

       Display a progress dialog while searching for all the postscript files
       in your home directory

       find `echo $HOME` '*.ps' | zenity --progress --pulsate

That's not how find works. You need to use "-name" if you want find to find .ps
files. And what is the point of the backticks and the echo? Just "find $HOME"
is the same as "find `echo $HOME`".

This would be a better example:

       find $HOME -name '*.ps' | zenity --progress --pulsate
Comment 1 Daniel Holbach 2006-03-31 17:18:18 UTC
Created attachment 62471 [details] [review]
fix manpage's use of find
Comment 2 Lucas Rocha 2006-03-31 22:50:29 UTC
Fixed, thanks! 

2006-03-31  Lucas Rocha  <lucasr@gnome.org>

        * data/zenity.1: fix example on progress dialog (Fixed
        bug #336751).