[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG ?] '' on command line produces XYZ: is a directory
From: |
Sreeji K Das |
Subject: |
[BUG ?] '' on command line produces XYZ: is a directory |
Date: |
Sun, 25 Nov 2001 17:35:50 +0530 (IST) |
Hi
Typing '' (pair of single/double quotes) at the BASH prompt produces the
funny error:
bash: /usr/local/sbin/: is a directory
where /usr/local/sbin/ is the first entry in the path. Now is it part of
any specs ? I guess a pair of quotes should not be treated as a command
(as it's an empty string), and bash should ignore it as whitespace,
rather than trying to execute the path :-)
Alternatively a command not found message can be given (but then it'd say
bash:: command not found !!)
Sreeji
- [BUG ?] '' on command line produces XYZ: is a directory,
Sreeji K Das <=