bug-bash
[Top][All Lists]
Advanced

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

some.. bug .. ?


From: Alex fxmbsw7 Ratchev
Subject: some.. bug .. ?
Date: Sun, 28 Nov 2021 10:01:55 +0100

printf 'e=. ; (( $# > 1 )) && $e afile "${@:1:$# -1}"' >afile ; . afile 1 2
3

bash: : command not found


1. the cmd=. works out, no command error
2. on second+ run it shows this error, as bin/. is no command in $PATH
3. the command is not '' anyway its .

4. the first run is np, why, $e = . and then '.' is no bin command, why
does bash run it without an eval
5. why doesnt it on later runs

thank you


reply via email to

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