________________________________
From: blfs-dev <[email protected]> on behalf of ?? ?? 
<[email protected]>
Sent: Saturday, September 24, 2016 1:28 AM
To: BLFS Development List
Subject: Re: [blfs-dev] Changes in Bash-4.4

John Burrell wrote:
>>> Among the changes from 4.3 to 4.4 is this one:
>>>
>>>
>>> "qq. There is a new option settable in config-top.h that makes multiple 
>>> directory arguments to `cd' a fatal error."
>>>
>>> The relevant Define variable in config-top.h is CD_COMPLAINS and it is set 
>>> by default.
>>>
>>> You have to undefine this to get the 4.3 behavior.
>>>
>>> This explains why my install scripts started failing. By default you can't:
>>>
>>> unzip jasper-*.zip
>>> cd jasper-*
>
>>It depends on how many matches you get with jasper-*.  If there is only
>>one match, you are OK.
>
>True, but if you have the source file and the unpacked version in the same dir 
>(the usual case for me) it doesn't work.
>
>Here is an example - jasper-1.900.1.zip is the only file in a dir. I did unzip 
>jasper*.zip and then
>
>cd jasper-* gave me the following (using set -x):
>
>+ cd jasper-1.900.1 jasper-1.900.1.zip
>bash: cd: too many arguments

Putting a slash after the asterisk will pick directories only. Try this:

cd jasper-*/

That's good - thanks

jb.
http://lists.linuxfromscratch.org/listinfo/blfs-dev
blfs-dev -- BLFS Development List - Linux From 
Scratch<http://lists.linuxfromscratch.org/listinfo/blfs-dev>
lists.linuxfromscratch.org
The blfs-dev list is for discussion of BLFS Book development. To see the 
collection of prior postings to the list, visit the blfs-dev Archives.


FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to