echo /path/one /path/ # OK
echo /path/one / # OK
echo /path/# FAIL!
PS: I'm hopeful there might be some kind of workaround that will work even
on those dated releases! [crossing fingers]
Thanks!
--
:- Dabe
echo /path/one /path/ # OK
echo /path/one / # OK
echo /path/# FAIL!
PS: I'm hopeful there might be some kind of workaround that will work even
on those dated releases! [crossing fingers]
Thanks!
--
:- Dabe
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin22.1.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC
uname output: Darwin triton.parabon.com 22.1.0 Darwin Kernel Version 22.1.0:
Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_6
irectory.
* - It's infuriating that /occasionally/ it DOESN'T switch to
/var/root!
Repeat-By:
Check out this copy-paste:
Thu Oct 29 12:32:22 dabe@triton:~> su -m root -c "bash"
Password:
Thu Oct 29 12:32:2
quot; «grin»
Thanks for the quick reply,
--
:- Dabe
On 8/27/21, 5:22 PM, Dabrien 'Dabe' Murphy wrote:
On 8/27/21, 4:09 PM, Chet Ramey wrote:
That circumstance is a pathname consisting solely of one or more
slashes,
separated from the previous word by whitespace. I'll fix it.
The code has been like this since January, 2004. That
since I tried running 'time (sleep 1)' in a version of bash that
preceeds that change (namely 6711d2dc7793ed3d35e91b2bd4ecbdfccfcf469f
(2022-10-24)), and it still didn't print the timing report.
Mea culpa... Thanks for the clarification! :-D
--
:- Dabe
el&id=9928dcb48f35d957d936f9c6d8bec8cec8b76317
19:52 that patch addresses this bug
https://lists.gnu.org/archive/html/bug-bash/2021-09/msg00047.html
--
:- Dabe
On 11/22/22 5:01 PM, Chet Ramey wrote:
Thanks for the report. It's an easy fix; bash was optimizing away the
fork
and therefore not printing the timing information.
Awesome!
Hitting it with a hammer: $10
Knowing WHERE to hit it: $9,990
«grin»
--
:- Dabe
x27;t make any changes to your
commit message, it gives you the option to abort the entire transaction.)
Cheers!
--
:- Dabe
On Tue, 24 Aug 2010, Dennis Williamson wrote:
On 8/23/10 3:17 PM, Dabrien 'Dabe' Murphy wrote:
I'd prefer it if, after exiting my $EDITOR, bash simply stuffed the
results back into my readline buffer. Particularly, if I decide to
abandon my changes, I find it worrisome that
konsole "tab" and taskbar app name
# ^[]30 = I forget...
if [ ! "${TERM##xterm}" = "$TERM" ] || [ ! "${TERM##screen}" =
"$TERM" ]; then
local datestr=$(date +"%a %b %d %T")
local standout_on=$(tput smso)
local standout_off=$(tput rmso)
PS1="\[^[]2;$JOBFLAG\u@\h
\W^G^[]1;\h$other^G^[]30;\h$other^G$color$standout_on\]$datestr\[$standout_off\]
$JOBFLAG${PS1}\u@\h:\w${prompt}\[^[[0m\]"
else
PS1="\[$color$standout_on\]$datestr\[$standout_off\]
$JOBFLAG${PS1}\u@\h:\w${prompt}\[^[[0m\]"
fi
echo -n $(tput cup $(tput lines) 0)
}
fi
--
:- Dabe
the backslash
prompt% qq /bin/bash
/bin/bash # zero '*', also good
prompt% qq /bin/bash []
prompt% ls /bin/bash
/bin/bash*# WITH '*'... BAD :-( FIXED
(It's worth noting that the shell itself is smart enough to figure out
pand-line`
(and then maybe a new "glob-expand-line" that operates on the whole
line, not just the current word.)
PS --- Even though it probably sounds like I'm an opinionated, demanding
a**, I DO want to say how thankful I am for all your hard work, Chet! I
know it's extremely hard to strike the right balance between adding new
features and not breaking existing functionality, and I'm eternally
grateful for your tireless effort!
(So at least I'm a GRATEFUL a**... «heh»)
--
:- Dabe
14 matches
Mail list logo