www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/23/08:30:15

From: "Vangor" <vangor AT altavista DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Bash options behavior
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <zdLD9.4291$EY.310@fe01>
X-Complaints-To: abuse AT usenetserver DOT com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Sat, 23 Nov 2002 08:17:19 EST
Date: Sat, 23 Nov 2002 09:26:24 -0400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

There are some Bash options that don't work as I expected.
I'm using Bash release 2.04.7. on Windows ME.

checkwinsize

This option is supposed to update the LINES variable. I made
a little command-line program to change screen height, but
LINES is never actualized. It is 25 no matter the size of
the window.

nocaseglob

This option is supposed to enable case-insensitive glob
expansion. But the option is automatically disabled each
time a glob expansion is done. So:

$ shopt -s nocaseglob
$ shopt nocaseglob
nocaseglob        on
$ echo *.sh
history.sh
$ echo *.SH
*.SH
$ shopt nocaseglob
shopt        off




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019