to clean up my code: C is a language I code once
every 5 years or so).
(So while I'm at it: `chachastate` keeps switching types and is
sometimes a global, sometimes a local variable. That's confusing.)
/OIe
Cheers,
Quentin
tus=none | tr -d -c A-Za-z0-9
Then truncate to whatever length you need, or repeat if more characters are
needed.
Cheers,
Quentin
hing special happens on param 18 since $18 expands as expected to
"$1"8 = "echo8" inside the function (and that command does not exist, at
least on my system).
Please provide your output to that script (not run as root so as not to
make the system reboot) if it's different from what I describe above.
Regards,
Quentin
ot;15th: $15"
echo "16th: $16"
echo "17th: $17"
$18
echo "19th: $19"
echo "20th: $20"
}
echo "Before Passing Thru Function: $*"
Gateway $*
Hi,
I think you should read the "Special Parameters" and "Parameter
Expansion" sections of the Bash man page.
Specifically:
* $* does not expand parameters as separate words (as "$@" does)
* positional parameters with more than 1 digit require braces: "${11}"
Cheers,
Quentin
it in case it's the latter.
Regards,
Quentin
happen with read -s and -n options.
Calling read without options restores stty as expected.
ksh (93u+) and zsh (5.2) also restores stty as expected.
Finally tested this on bash 3.2.57(1)-release and it's working as
expected, stty is restored in the trap.
--
Quentin L'Hours
on of the info documentation if I'm not mistaken,
You can see it from your terminal with:
info bash 'Basic Shell Features' 'Shell Commands' 'GNU Parallel'
--
Quentin
ment errors)?
It feels like POSIX progressively wants declaration builtins to have the
same rules as basic assignments, why should assignment error stay different?
--
Quentin
capital[fr]=Paris
$ declare -p capital
declare -A capital=([fr]="Paris" )
Fix:
Maybe just rlen-- just after looping on all elements in assoc.c
--
Quentin L'Hours
On 10/20/2016 10:40 PM, Dan Douglas wrote:
On Wed, Oct 19, 2016 at 11:47 PM, Quentin L'Hours
Useless space after last item of a declare -p on an assoc array (indexed
arrays don't print it, and neither does ksh typeset on assoc arrays).
It doesn't seem to have any consequence tho
10 matches
Mail list logo