Henning Kvello-Aune wrote:
> [EMAIL PROTECTED] ~]$ rpm -qa | grep ftp*

The command line shell will expand the '*' in the ftp* above to match
any filenames in the current directory.  Therefore leaving it unquoted
is incorrect.  It will create data dependent problems depending upon
what files are in the directory at the time that the file glob is
expanded.

You can test yourself what the grep command would see by using echo.

  echo grep ftp*

Here is the corrected command.

  rpm -qa | grep "ftp*"

Bob


Reply via email to