bug-bash
[Top][All Lists]
Advanced

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

test for "command not found" before expanding shell parameters


From: Toralf Förster
Subject: test for "command not found" before expanding shell parameters
Date: Sun, 20 Apr 2014 19:52:21 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Under Gentoo Linux I'd like to grep for various things in the package database 
in the following way:

$> greo semanti /var/db/pkg/*/*/USE

This might take a longer time for a low device before I'm faced with the 
message:

"bash: greo: command not found"

/me wonders if it is mandatory first to expand the complete command line before 
realizing that the command isnÄt ther ?

-- 
Toralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]