Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Lutz Adam Newsgroups: gnu.bash.bug Subject: Error expanding variable containing a directory name Date: Thu, 23 Jul 2020 18:08:10 +0200 Lines: 33 Approved: bug-bash@gnu.org Message-ID: References: <738aff45-aa58-4cfc-2967-92ec87f2661b@posteo.de> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1595524956 1109 209.51.188.17 (23 Jul 2020 17:22:36 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1595520491; bh=Mk6/h1l4F9aftDEYHVgSAHXzTzRf4cdMEvOb2NVICY4=; h=To:From:Subject:Date:From; b=cusc2ZcWiKTKiylX/hJIlwJq7EZwH904uFO2eA4ZLIabU11LkPyc7HpG3xOOCrUxx Skr5hCeabZcmFv7qGFJc8w3AkpsKhp1vgqcO7RKNZSrUMwdtMw/lV418GOF8lxUtiU AJwC8nMShzlgs0Ij33U51ptovtKFghZXsub06xjtNf2XQe0vA9WUypFigCHWLImtT+ 7UI/+Wv+peSi/nHIIkzT7Jldbj+bfQVUBiCq5Qfx06URxwm/FnP1qQ6WHK7Rr0zyfp 7s6/Ioyr5z7t457L0j9dWf9sWugdwDa6oNQropeN1iyA1dEi86rsVOTe+Y9MQCen3J RSvp1G0QUPyQg== User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Content-Language: de-DE Received-SPF: pass client-ip=185.67.36.66; envelope-from=lutz.adam@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 12:08:11 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Jul 2020 13:22:32 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <738aff45-aa58-4cfc-2967-92ec87f2661b@posteo.de> Xref: csiph.com gnu.bash.bug:16606 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format- uname output: Linux fractal 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 5.0 Patch Level: 17 Release Status: release Description:        The content of $ML is "/media/lad".  There's a directory /media/lad/p24. Typing the command             ls $ML/p24        a backslash is put befor "$" and the line looks like:             ls \$ML/p24/        Typing the ENTER key shows:             ls: cannot access '$ML/p24/': No such file or directory. Repeat-By:         Create a variable containing a directory name. Put a subdirectory there under.         Type a "$" and the variable followed by a slash, the name of the subdirectora and the TAB-key. The OS is Linux Mint 20