bug-bash
[Top][All Lists]
Advanced

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

Re: some.. bug .. ?


From: Dale R. Worley
Subject: Re: some.. bug .. ?
Date: Tue, 30 Nov 2021 23:30:46 -0500

Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> writes:
> printf 'e=. ; (( $# > 1 )) && $e afile "${@:1:$# -1}"' >afile ; . afile 1 2
> 3
>
> bash: : command not found

This looks like another instance where you've constructed a command
whose first word is the empty word.  Try running with "set -x" and see
what the command lines are when they're expanded.

Dale



reply via email to

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