help-bash
[Top][All Lists]
Advanced

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

Have Bash to do case insensitive operation on test


From: Budi
Subject: Have Bash to do case insensitive operation on test
Date: Wed, 14 Apr 2021 08:30:31 +0000

How to have Bash to do case insensitive operation on test:

$ n=Foo
$ [ -e "$n" ] && echo $n exist

foo exist
if it is:

$ ls
foo   bar   baz



reply via email to

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