1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

45269: Fix misspellings in completions and elsewhere.

This commit is contained in:
Jens Schleusener 2020-01-09 13:39:44 +00:00 committed by Daniel Shahaf
parent 4858e868dc
commit 11dbe4c286
47 changed files with 98 additions and 65 deletions

View file

@ -1,3 +1,36 @@
2020-01-09 Jens Schleusener <Jens.Schleusener@fossies.org>
* 45269: Completion/BSD/Command/_mixerctl,
Completion/Darwin/Command/_fs_usage,
Completion/Darwin/Type/_mac_files_for_application,
Completion/Debian/Command/_sbuild,
Completion/Linux/Command/_brctl,
Completion/Linux/Command/_findmnt,
Completion/Linux/Command/_ltrace,
Completion/Mandriva/Command/_urpmi,
Completion/Redhat/Command/_yum,
Completion/Unix/Command/_attr, Completion/Unix/Command/_git,
Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_iconv,
Completion/Unix/Command/_imagemagick,
Completion/Unix/Command/_links,
Completion/Unix/Command/_luarocks,
Completion/Unix/Command/_objdump, Completion/Unix/Command/_od,
Completion/Unix/Command/_pandoc, Completion/Unix/Command/_ping,
Completion/Unix/Command/_pkg-config,
Completion/Unix/Command/_postgresql,
Completion/Unix/Command/_rubber,
Completion/Unix/Command/_transmission,
Completion/Unix/Type/_baudrates,
Completion/Unix/Type/_path_files, Etc/FAQ.yo,
Functions/Zftp/zfautocheck, Misc/c2z, Src/Modules/curses.c,
Src/Modules/db_gdbm.c, Src/Modules/parameter.c, Src/Zle/comp.h,
Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c,
Src/Zle/compresult.c, Src/Zle/computil.c, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/pattern.c,
Src/zsh.h, Src/ztype.h, Test/B01cd.ztst, Test/D04parameter.ztst:
Fix misspellings in completions and elsewhere.
2020-01-08 dana <dana@dana.is> 2020-01-08 dana <dana@dana.is>
* 45261: Completion/Unix/Command/_gcc: Detect clang-as-gcc * 45261: Completion/Unix/Command/_gcc: Detect clang-as-gcc

View file

@ -8,4 +8,4 @@ _arguments -s -S -A "-*" \
'(-a -n -v)-q[Suppress all printing when setting a variable]' \ '(-a -n -v)-q[Suppress all printing when setting a variable]' \
'(-a -n -v)-t[Attempt to select the next possible value of an enum]' \ '(-a -n -v)-t[Attempt to select the next possible value of an enum]' \
'(-q -t)-v[Show all possible values of variables]' \ '(-q -t)-v[Show all possible values of variables]' \
'(-a)*:mixerctl varible:_multi_parts -i -S = -q . _cache_mixerctlvars' '(-a)*:mixerctl variable:_multi_parts -i -S = -q . _cache_mixerctlvars'

View file

@ -6,7 +6,7 @@ typeset -A opt_args
_arguments -s -C -A '-*' : \ _arguments -s -C -A '-*' : \
'-e[exclude fs_usage and the specified processes from sampling]' \ '-e[exclude fs_usage and the specified processes from sampling]' \
'-w[use wider output]' \ '-w[use wider output]' \
'*-f+[specify output filtering mode]:mode:(nework filesys pathname exec diskio cachehit)' \ '*-f+[specify output filtering mode]:mode:(network filesys pathname exec diskio cachehit)' \
'-b[annotate disk I/O events with BootCache info]' \ '-b[annotate disk I/O events with BootCache info]' \
'(-R -S -E)-t+[specify run timeout]:seconds' \ '(-R -S -E)-t+[specify run timeout]:seconds' \
'(-t)-R+[specify raw trace file to process]:raw trace file:_files' \ '(-t)-R+[specify raw trace file to process]:raw trace file:_files' \

View file

@ -44,7 +44,7 @@ _mac_files_for_application() {
local -a glob_patterns local -a glob_patterns
glob_patterns=() glob_patterns=()
# Try to get extentions from "Info.plist" XML file. # Try to get extensions from "Info.plist" XML file.
if [[ -f "$app_path/Contents/Info.plist" ]]; then if [[ -f "$app_path/Contents/Info.plist" ]]; then
local -a exts types local -a exts types
_mac_parse_info_plist _mac_parse_info_plist

View file

@ -115,7 +115,7 @@ _sbuild() {
'--finished-build-commands=[run commands after package is built]:commands' \ '--finished-build-commands=[run commands after package is built]:commands' \
'--build-failed-commands=[run commands after dpkg-buildpackage fails]:commands' \ '--build-failed-commands=[run commands after dpkg-buildpackage fails]:commands' \
'--chroot-cleanup-commands=[run commands after chroot cleanup]:commands' \ '--chroot-cleanup-commands=[run commands after chroot cleanup]:commands' \
'--post-build-commands=[run commands after package is build sucessfuly]:commands' \ '--post-build-commands=[run commands after package is build successfully]:commands' \
'--post-build-failed-commands[run commands after package failed to build]:commands' \ '--post-build-failed-commands[run commands after package failed to build]:commands' \
'--anything-failed-commands=[run commands for all --xxx-failed-commands option]:commands' \ '--anything-failed-commands=[run commands for all --xxx-failed-commands option]:commands' \
'--log-external-command-output[external commands output are logged]' \ '--log-external-command-output[external commands output are logged]' \

View file

@ -13,7 +13,7 @@ if (( CURRENT == 2 )); then
hairpin:toggle\ hairpin\ mode\ on\ a\ port hairpin:toggle\ hairpin\ mode\ on\ a\ port
showmacs:show\ a\ list\ of\ learned\ MAC\ addresses showmacs:show\ a\ list\ of\ learned\ MAC\ addresses
setageing:set\ MAC\ address\ ageing\ time setageing:set\ MAC\ address\ ageing\ time
setgcint:set\ grabage\ collection\ interval setgcint:set\ garbage\ collection\ interval
stp:control\ use\ of\ spanning\ tree\ protocol stp:control\ use\ of\ spanning\ tree\ protocol
showstp:show\ bridge\ stp\ info showstp:show\ bridge\ stp\ info
setbridgeprio:set\ bridge\ priority setbridgeprio:set\ bridge\ priority

View file

@ -32,7 +32,7 @@ _arguments -s -C \
'(H -U --uniq)'{-U,--uniq}'[ignore filesystems with duplicated mount targets]' \ '(H -U --uniq)'{-U,--uniq}'[ignore filesystems with duplicated mount targets]' \
'(H -u --notruncate)'{-u,--notruncate}'[do not truncate text in columns]' \ '(H -u --notruncate)'{-u,--notruncate}'[do not truncate text in columns]' \
'(H -v --nofsroot)'{-v,--nofsroot}'[do not print \[/dir\] in the SOURCE column]' \ '(H -v --nofsroot)'{-v,--nofsroot}'[do not print \[/dir\] in the SOURCE column]' \
'(H -w --timeout)'{-w+,--timeout}'[specify timeout for --poll]:miliseconds: ' \ '(H -w --timeout)'{-w+,--timeout}'[specify timeout for --poll]:milliseconds: ' \
'(H -x --verify)'{-x,--verify}'[check mount table content]' \ '(H -x --verify)'{-x,--verify}'[check mount table content]' \
'(H)--verbose[print more information]' \ '(H)--verbose[print more information]' \
'(H)1: :->sources_targets' \ '(H)1: :->sources_targets' \

View file

@ -5,7 +5,7 @@ local root hlp="-h --help -V --version"
(( EUID )) && root='!' (( EUID )) && root='!'
_arguments -s -S $args \ _arguments -s -S $args \
"(-c -a --align $hlp)"{-a+,--align=}"[align return values in a secific column]:column [$((COLUMNS*5/8))]" \ "(-c -a --align $hlp)"{-a+,--align=}"[align return values in a specific column]:column [$((COLUMNS*5/8))]" \
"(-c $hlp)-A+[specify maximum number of array elements to print]:elements" \ "(-c $hlp)-A+[specify maximum number of array elements to print]:elements" \
"(-c -b --no-signals $hlp)"{-b,--no-signals}"[don't print signals]" \ "(-c -b --no-signals $hlp)"{-b,--no-signals}"[don't print signals]" \
"(-a --align -A -b --no-signals -i -n --indent -r -s -t -tt -ttt -T $hlp)-c[count time and calls, and report a summary on exit]" \ "(-a --align -A -b --no-signals -i -n --indent -r -s -t -tt -ttt -T $hlp)-c[count time and calls, and report a summary on exit]" \

View file

@ -87,7 +87,7 @@ _urpmi() {
"($help)--auto[automatically select a package in choices]" "($help)--auto[automatically select a package in choices]"
"($help)--force[force invocation even if some packages do not exist]" "($help)--force[force invocation even if some packages do not exist]"
"($help)--parallel[distributed urpmi across machines of alias]:urpmi alias name:_urpmi_parallel_alias" "($help)--parallel[distributed urpmi across machines of alias]:urpmi alias name:_urpmi_parallel_alias"
"($help)--root[use another root for rpm installation]:root diretory:_files -/" "($help)--root[use another root for rpm installation]:root directory:_files -/"
"($help)--test[test only, do not modify system]" "($help)--test[test only, do not modify system]"
"($help)-a[select all matches on command line]" "($help)-a[select all matches on command line]"
) )
@ -147,7 +147,7 @@ _urpmi() {
"($help : -)"{--help,-h}"[print usage information]" \ "($help : -)"{--help,-h}"[print usage information]" \
"($help :)-a[select all media]" \ "($help :)-a[select all media]" \
"($help)-c[clean headers cache directory]" \ "($help)-c[clean headers cache directory]" \
"($help)-y[fuzzy mathing on media names]" \ "($help)-y[fuzzy matching on media names]" \
"(-a)"{,\*}":media:_sequence _urpmi_media" \ "(-a)"{,\*}":media:_sequence _urpmi_media" \
&& ret=0 && ret=0
;; ;;
@ -189,7 +189,7 @@ _urpmi() {
"($help)--more-choices[propose more choices than the default]" \ "($help)--more-choices[propose more choices than the default]" \
"($help --no-resume)--resume[resume transfer of partially-downloaded files]" \ "($help --no-resume)--resume[resume transfer of partially-downloaded files]" \
"($help --resume)--no-resume[do not resume transfer of partially-downloaded files]" \ "($help --resume)--no-resume[do not resume transfer of partially-downloaded files]" \
"($help)--root[use another root for rpm installation]:root diretory:_files -/" \ "($help)--root[use another root for rpm installation]:root directory:_files -/" \
"($help)--skip[packages which installation should be skipped]:packages: " \ "($help)--skip[packages which installation should be skipped]:packages: " \
"($help)--split-length[small transaction length]:transaction length: " \ "($help)--split-length[small transaction length]:transaction length: " \
"($help)--split-level[split in small transaction]:transaction size: " \ "($help)--split-level[split in small transaction]:transaction size: " \

View file

@ -39,7 +39,7 @@ _yum() {
'--color=[control whether color is used]:(always auto never)' \ '--color=[control whether color is used]:(always auto never)' \
'--releasever=[set value of $releasever in yum config and repo files]:value' \ '--releasever=[set value of $releasever in yum config and repo files]:value' \
"--downloadonly[don't update, just download]" \ "--downloadonly[don't update, just download]" \
'--downloaddir=[specify alternate directory to store packages]:directort:_directories' \ '--downloaddir=[specify alternate directory to store packages]:directory:_directories' \
'--setopt=[set arbitrary config and repo options]:option' \ '--setopt=[set arbitrary config and repo options]:option' \
'--bugfix[include bugfix relevant packages in updates]' \ '--bugfix[include bugfix relevant packages in updates]' \
'--security[include security relevant packages in updates]' \ '--security[include security relevant packages in updates]' \

View file

@ -56,7 +56,7 @@ case $service in
'-r[act recursively]' \ '-r[act recursively]' \
'-s[act on symbolic links]' \ '-s[act on symbolic links]' \
'(-w)-v[always display file name]' \ '(-w)-v[always display file name]' \
'(-c -d)-x[use hexademical format for value input and output]' \ '(-c -d)-x[use hexadecimal format for value input and output]' \
'*: :_files' \ '*: :_files' \
+ '(op)' \ + '(op)' \
'(-l -x)-c[remove all attributes]' \ '(-l -x)-c[remove all attributes]' \

View file

@ -1187,7 +1187,7 @@ _git-log () {
fi fi
# TODO: Write a wrapper function that checks whether we have a # TODO: Write a wrapper function that checks whether we have a
# committish range or comittish and calls __git_tree_files # committish range or committish and calls __git_tree_files
# appropriately. # appropriately.
if __git_is_committish_range $line[1]; then if __git_is_committish_range $line[1]; then
__git_tree_files ${PREFIX:-.} $(__git_committish_range_last $line[1]) && ret=0 __git_tree_files ${PREFIX:-.} $(__git_committish_range_last $line[1]) && ret=0
@ -1671,7 +1671,7 @@ _git-shortlog () {
;; ;;
(*) (*)
# TODO: Write a wrapper function that checks whether we have a # TODO: Write a wrapper function that checks whether we have a
# committish range or comittish and calls __git_tree_files # committish range or committish and calls __git_tree_files
# appropriately. # appropriately.
if __git_is_committish_range $line[1]; then if __git_is_committish_range $line[1]; then
__git_tree_files ${PREFIX:-.} $(__git_committish_range_last $line[1]) && ret=0 __git_tree_files ${PREFIX:-.} $(__git_committish_range_last $line[1]) && ret=0
@ -2101,7 +2101,7 @@ _git-switch() {
case $state in case $state in
branches) branches)
if [[ -n ${opt_args[(i)--guess]} ]]; then if [[ -n ${opt_args[(i)--guess]} ]]; then
# --guess is the default but if it has been explictly specified, # --guess is the default but if it has been explicitly specified,
# we'll only complete remote branches # we'll only complete remote branches
__git_remote_branch_names_noprefix && ret=0 __git_remote_branch_names_noprefix && ret=0
else else
@ -5432,7 +5432,7 @@ _git-daemon () {
'--strict-paths[match paths exactly]' \ '--strict-paths[match paths exactly]' \
'--access-hook=-[allow an external tool to accept or decline service]:path:_directories' \ '--access-hook=-[allow an external tool to accept or decline service]:path:_directories' \
'--base-path=-[remap all the path requests as relative to the given path]:path:_directories' \ '--base-path=-[remap all the path requests as relative to the given path]:path:_directories' \
'--base-path-relaxed[allow lookup of base path witout prefix]' \ '--base-path-relaxed[allow lookup of base path without prefix]' \
'--interpolated-path=-[dynamically construct alternate paths]:path:_directories' \ '--interpolated-path=-[dynamically construct alternate paths]:path:_directories' \
'--export-all[allow pulling from all repositories without verification]' \ '--export-all[allow pulling from all repositories without verification]' \
'(--port --listen --user --group)--inetd[run server as an inetd service]' \ '(--port --listen --user --group)--inetd[run server as an inetd service]' \
@ -6100,7 +6100,7 @@ _git_column_layouts() {
'(always never)auto[show in columns if the output is to the terminal]' \ '(always never)auto[show in columns if the output is to the terminal]' \
'(row plain)column[fill columns before rows]' \ '(row plain)column[fill columns before rows]' \
'(column plain)row[fill rows before columns]' \ '(column plain)row[fill rows before columns]' \
'(column row)plain[show in one colum]' \ '(column row)plain[show in one column]' \
'(nodense)dense[make unequal size columns to utilize more space]' \ '(nodense)dense[make unequal size columns to utilize more space]' \
'(dense)nodense[make equal size columns]' '(dense)nodense[make equal size columns]'
} }

View file

@ -40,7 +40,7 @@ case "$words[2]" in
'*-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \ '*-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \
'*-dither[apply dithering]' \ '*-dither[apply dithering]' \
'*-edge:edge detection factor (0.0 - 99.9%%)' \ '*-edge:edge detection factor (0.0 - 99.9%%)' \
'*-endian:image endianess:(MSB LSB)' \ '*-endian:image endianness:(MSB LSB)' \
'*+endian' \ '*+endian' \
'*-enhance[enhance noisy image]' \ '*-enhance[enhance noisy image]' \
'*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \ '*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \
@ -162,7 +162,7 @@ case "$words[2]" in
'-descend[descend window hierarchy]' \ '-descend[descend window hierarchy]' \
'-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \ '-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \
'-dither[apply dithering]' \ '-dither[apply dithering]' \
'(+endian)-endian:image endianess:(MSB LSB)' \ '(+endian)-endian:image endianness:(MSB LSB)' \
'(-endian)+endian' \ '(-endian)+endian' \
'-frame[include window manager frame]' \ '-frame[include window manager frame]' \
'(- *)-help[display help information]' \ '(- *)-help[display help information]' \
@ -214,7 +214,7 @@ case "$words[2]" in
'*-dither[apply dithering]' \ '*-dither[apply dithering]' \
'*+dither[render Postscript without aliasing]' \ '*+dither[render Postscript without aliasing]' \
'*-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \ '*-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \
'*-endian:image endianess:(MSB LSB)' \ '*-endian:image endianness:(MSB LSB)' \
'*+endian' \ '*+endian' \
'*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \ '*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \
'*-frame[draw frame around image]' \ '*-frame[draw frame around image]' \
@ -293,7 +293,7 @@ case "$words[2]" in
'-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \ '-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \
'-edge:edge detection factor (0.0 - 99.9%%)' \ '-edge:edge detection factor (0.0 - 99.9%%)' \
'-emboss[emboss image]' \ '-emboss[emboss image]' \
'(+endian)-endian:image endianess:(MSB LSB)' \ '(+endian)-endian:image endianness:(MSB LSB)' \
'(-endian)+endian' \ '(-endian)+endian' \
'-enhance[enhance image]' \ '-enhance[enhance image]' \
'-equalize[histogram equalization]' \ '-equalize[histogram equalization]' \

View file

@ -38,7 +38,7 @@ if _pick_variant -r variant libiconv='GNU*libiconv' glibc='(Free Soft|GNU*libc|G
_arguments -C -S -s : $args && return 0 _arguments -C -S -s : $args && return 0
if [[ $state = *_codeset ]]; then if [[ $state = *_codeset ]]; then
# suffix is meaningfull only for output encoding # suffix is meaningful only for output encoding
if [[ $state = to_codeset ]] && compset -P '*[^/]/'; then if [[ $state = to_codeset ]] && compset -P '*[^/]/'; then
_wanted suffix expl suffix compadd "$@" /TRANSLIT /IGNORE && ret=0 _wanted suffix expl suffix compadd "$@" /TRANSLIT /IGNORE && ret=0
else else

View file

@ -44,7 +44,7 @@ case "$service" in
'*-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \ '*-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \
'*-dither[apply dithering]' \ '*-dither[apply dithering]' \
'*-edge:edge detection factor (0.0 - 99.9%%)' \ '*-edge:edge detection factor (0.0 - 99.9%%)' \
'*-endian:image endianess:(MSB LSB)' \ '*-endian:image endianness:(MSB LSB)' \
'*+endian' \ '*+endian' \
'*-enhance[enhance noisy image]' \ '*-enhance[enhance noisy image]' \
'*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \ '*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \
@ -166,7 +166,7 @@ case "$service" in
'-descend[descend window hierarchy]' \ '-descend[descend window hierarchy]' \
'-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \ '-dispose:GIF disposal method:((0:no\ disposal 1\:don'\''t\ dispose\ between\ frames 2\:overwrite\ frame\ with\ background\ color 3\:overwrite\ with\ previous\ frame))' \
'-dither[apply dithering]' \ '-dither[apply dithering]' \
'(+endian)-endian:image endianess:(MSB LSB)' \ '(+endian)-endian:image endianness:(MSB LSB)' \
'(-endian)+endian' \ '(-endian)+endian' \
'-frame[include window manager frame]' \ '-frame[include window manager frame]' \
'(- *)-help[display help information]' \ '(- *)-help[display help information]' \
@ -218,7 +218,7 @@ case "$service" in
'*-dither[apply dithering]' \ '*-dither[apply dithering]' \
'*+dither[render Postscript without aliasing]' \ '*+dither[render Postscript without aliasing]' \
'*-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \ '*-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \
'*-endian:image endianess:(MSB LSB)' \ '*-endian:image endianness:(MSB LSB)' \
'*+endian' \ '*+endian' \
'*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \ '*-filter:filter type for resizing:(Point Box Triangle Hermite Hanning Hamming Blackman Gaussian Quadratic Cubic Catrom Mitchell Lanczos Bessel Sinc)' \
'*-frame[draw frame around image]' \ '*-frame[draw frame around image]' \
@ -297,7 +297,7 @@ case "$service" in
'-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \ '-draw:drawing primitive:compadd -S "\\ " - rectangle circle ellipse polygon color matte text image' \
'-edge:edge detection factor (0.0 - 99.9%%)' \ '-edge:edge detection factor (0.0 - 99.9%%)' \
'-emboss[emboss image]' \ '-emboss[emboss image]' \
'(+endian)-endian:image endianess:(MSB LSB)' \ '(+endian)-endian:image endianness:(MSB LSB)' \
'(-endian)+endian' \ '(-endian)+endian' \
'-enhance[enhance image]' \ '-enhance[enhance image]' \
'-equalize[histogram equalization]' \ '-equalize[histogram equalization]' \
@ -511,7 +511,7 @@ case "$service" in
'-file:output file:_files' \ '-file:output file:_files' \
'-get[get files]' \ '-get[get files]' \
'-port:port: _ports' \ '-port:port: _ports' \
'-proxy:host of proxy ftp deamon:_hosts' \ '-proxy:host of proxy ftp daemon:_hosts' \
'-print[print files]' \ '-print[print files]' \
'-prune[process files from remote directory]' \ '-prune[process files from remote directory]' \
'-put[put files]' \ '-put[put files]' \

View file

@ -37,7 +37,7 @@ _arguments -C \
'-memory-cache-size[cache memory]:size (bytes) [1048576]' \ '-memory-cache-size[cache memory]:size (bytes) [1048576]' \
'-image-cache-size[image cache memory]:size (bytes) [1048576]' \ '-image-cache-size[image cache memory]:size (bytes) [1048576]' \
'-font-cache-size[specify font cache size]:size (bytes) [2097152]' \ '-font-cache-size[specify font cache size]:size (bytes) [2097152]' \
"-aggressive-cache[cache everything regardless of server's caching recomendations]:enable [1]:((1\\:on 0\\:off))" \ "-aggressive-cache[cache everything regardless of server's caching recommendations]:enable [1]:((1\\:on 0\\:off))" \
'-address-preference[specify IP version preference]:preference:(( '-address-preference[specify IP version preference]:preference:((
0\:system\ default 0\:system\ default
1\:prefer\ IPv4 1\:prefer\ IPv4

View file

@ -135,7 +135,7 @@ ___luarocks_installed_rocks_cache_policy(){
# ) if configuration files are newer: # ) if configuration files are newer:
# * set and cache the values from the commands above # * set and cache the values from the commands above
# ) else: # ) else:
# * retrive from cache the values of the commands above # * retrieve from cache the values of the commands above
# ) end if # ) end if
# ) end if # ) end if
@ -190,7 +190,7 @@ ___luarocks_installed_rocks_cache_policy(){
} }
(( $+functions[__luarocks_installed_rocks] )) || (( $+functions[__luarocks_installed_rocks] )) ||
__luarocks_installed_rocks(){ __luarocks_installed_rocks(){
# This function optionally recieves one argument of the tree in which # This function optionally receives one argument of the tree in which
# installed rocks are searched for. If this argument is used, the installed # installed rocks are searched for. If this argument is used, the installed
# rocks which will be completed by this function will not use the cache which # rocks which will be completed by this function will not use the cache which
# is valid only for installed rocks on default trees like /usr/lib/luarocks # is valid only for installed rocks on default trees like /usr/lib/luarocks

View file

@ -52,8 +52,8 @@ case $variant in
'(-m --architecture)'{-m+,--architecture=}'[specify the target architecture]:architecture:->architectures' '(-m --architecture)'{-m+,--architecture=}'[specify the target architecture]:architecture:->architectures'
\*{-M+,--disassembler-options=}'[pass target specific information to the disassembler]:option:->disassembler_options' \*{-M+,--disassembler-options=}'[pass target specific information to the disassembler]:option:->disassembler_options'
"(-E --endian)-E+[assume endianess when disassembling]:endianess:((B\:\"assume big endian format when disassembling\" L\:\"assume little endian format when disassembling\"))" "(-E --endian)-E+[assume endianness when disassembling]:endianness:((B\:\"assume big endian format when disassembling\" L\:\"assume little endian format when disassembling\"))"
"(-E --endian)--endian=[assume endianess when disassembling]:endianess:((big\:\"assume big endian format when disassembling\" little\:\"assume little endian format when disassembling\"))" "(-E --endian)--endian=[assume endianness when disassembling]:endianness:((big\:\"assume big endian format when disassembling\" little\:\"assume little endian format when disassembling\"))"
'--file-start-context[include context from start of file (with -S)]' '--file-start-context[include context from start of file (with -S)]'
\*{-I+,--include=}'[add directory to search list for source files]:directory:_files -/' \*{-I+,--include=}'[add directory to search list for source files]:directory:_files -/'

View file

@ -26,7 +26,7 @@ if _pick_variant gnu=GNU unix --version; then
args=( ${(R)args:#(|\*)(|\(*\))-[hBIL]*} ) args=( ${(R)args:#(|\*)(|\(*\))-[hBIL]*} )
args+=( args+=(
'--traditional' '--traditional'
'--endian=[swap input bytes]:endianess:(big little)' '--endian=[swap input bytes]:endianness:(big little)'
{-S+,--strings=-}'[output strings of at least specified bytes long]:length' {-S+,--strings=-}'[output strings of at least specified bytes long]:length'
{-w-,--width=-}'[output specified bytes per line]:bytes' {-w-,--width=-}'[output specified bytes per line]:bytes'
'(- : *)--help[display help and exit]' '(- : *)--help[display help and exit]'

View file

@ -335,7 +335,7 @@ _arguments -C \
'--data-dir=[specify the user data directory to search for pandoc data files]:dir:_pandoc_data_dir' \ '--data-dir=[specify the user data directory to search for pandoc data files]:dir:_pandoc_data_dir' \
'--base-header-level=[specify the base level for headers (defaults to 1)]:number:_pandoc_header_level' \ '--base-header-level=[specify the base level for headers (defaults to 1)]:number:_pandoc_header_level' \
'--strip-empty-paragraphs[deprecated. Use the +empty_paragraphs extension instead]: :' \ '--strip-empty-paragraphs[deprecated. Use the +empty_paragraphs extension instead]: :' \
'--indented-code-classes=[classes to use for indented code blocks]:class:{_message "Classes seperated with ,"}' \ '--indented-code-classes=[classes to use for indented code blocks]:class:{_message "Classes separated with ,"}' \
'*--filter=[specify an executable to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written]:file:_pandoc_filter' \ '*--filter=[specify an executable to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written]:file:_pandoc_filter' \
'*--lua-filter=[transform the document in a similar fashion as JSON filters (see --filter), but use pandoc'"'"'s build-in lua filtering system]:file:_pandoc_lua_filter' \ '*--lua-filter=[transform the document in a similar fashion as JSON filters (see --filter), but use pandoc'"'"'s build-in lua filtering system]:file:_pandoc_lua_filter' \
{-p,--preserve-tabs}'[preserve tabs instead of converting them to spaces]: :' \ {-p,--preserve-tabs}'[preserve tabs instead of converting them to spaces]: :' \

View file

@ -139,7 +139,7 @@ case ${variant}:${${service#ping}:-4} in
darwin*:6) darwin*:6)
args+=( args+=(
'-B+[bind the socket to specified interface for sending]:interface:_net_interfaces' '-B+[bind the socket to specified interface for sending]:interface:_net_interfaces'
'-G+[specify max,min,increment size for ICMP payload for sweeping pings]:max,min,incr (defalt min=0 incr=1)' '-G+[specify max,min,increment size for ICMP payload for sweeping pings]:max,min,incr (default min=0 incr=1)'
'-z+[specify traffic class]:traffic class' '-z+[specify traffic class]:traffic class'
) )
;| ;|

View file

@ -36,7 +36,7 @@ arguments=(
"--print-requires[list all modules the package requires]" "--print-requires[list all modules the package requires]"
"--print-requires-private[list all modules the package requires for static linking (see --static)]" "--print-requires-private[list all modules the package requires for static linking (see --static)]"
# "--msvc-syntax[output linker flags in a form compatible with MSVC++ (Windows only)]" # "--msvc-syntax[output linker flags in a form compatible with MSVC++ (Windows only)]"
# "--dont-define-prefix[disables automatic overiding of the variable \"prefix\" (Windows only)]" # "--dont-define-prefix[disables automatic overriding of the variable \"prefix\" (Windows only)]"
# "--prefix-variable=[set the name of the variable \"prefix\" (Windows only)]:prefix value" # "--prefix-variable=[set the name of the variable \"prefix\" (Windows only)]:prefix value"
"*: :->packages" "*: :->packages"
) )

View file

@ -610,7 +610,7 @@ _pgsql_initdb() {
+ x # Exclusive options + x # Exclusive options
$common_opts_excl $common_opts_excl
+ '(l)' # Locale options (general) + '(l)' # Locale options (general)
{-l+,--locale=}'[specify locale (all catgories)]: :_locales' {-l+,--locale=}'[specify locale (all categories)]: :_locales'
'--no-locale[equivalent to --locale=C]' '--no-locale[equivalent to --locale=C]'
+ lc # Locale options (specific) -- unlike createdb, NOT exclusive with -l + lc # Locale options (specific) -- unlike createdb, NOT exclusive with -l
'--lc-collate=[specify LC_COLLATE setting]: :_locales' '--lc-collate=[specify LC_COLLATE setting]: :_locales'

View file

@ -59,7 +59,7 @@ case "$service" in
'--boxes[report overfull and underfull boxes]' \ '--boxes[report overfull and underfull boxes]' \
'--check[report errors or warnings default action]' \ '--check[report errors or warnings default action]' \
'--deps[show the target file s dependencies]' \ '--deps[show the target file s dependencies]' \
'--errors[show all errors that occured during compilation]' \ '--errors[show all errors that occurred during compilation]' \
'--refs[show the list of undefined references]' \ '--refs[show the list of undefined references]' \
'--warnings[show all LaTeX warnings]' \ '--warnings[show all LaTeX warnings]' \
':LaTeX file:_files -g "*.(tex|dtx|lhs|w)(-.)"' ':LaTeX file:_files -g "*.(tex|dtx|lhs|w)(-.)"'

View file

@ -50,7 +50,7 @@ local global_only_actions=(
'(- :)'{-m,--portmap}'[enable portmapping via NAT-PMP or UPnP]' '(- :)'{-m,--portmap}'[enable portmapping via NAT-PMP or UPnP]'
'(- :)'{-M,--no-portmap}'[disable portmapping]' '(- :)'{-M,--no-portmap}'[disable portmapping]'
'(- :)'{-o,--dht}'[enable distributed hash table]' '(- :)'{-o,--dht}'[enable distributed hash table]'
'(- :)'{-O,--no-dht}'[disable distribued hash table]' '(- :)'{-O,--no-dht}'[disable distributed hash table]'
'(- :)'{-u,--uplimit}'[limit the maximum upload speed to limit kB/s]:limit:{_message "limit in kB/sec"}' '(- :)'{-u,--uplimit}'[limit the maximum upload speed to limit kB/s]:limit:{_message "limit in kB/sec"}'
'(- :)'{-U,--no-uplimit}'[disable upload speed limits]' '(- :)'{-U,--no-uplimit}'[disable upload speed limits]'
'(- :)--utp[enable uTP for peer connections]' '(- :)--utp[enable uTP for peer connections]'
@ -69,7 +69,7 @@ local torrent_add_options=(
'(-c --incomplete-dir)'{-C,--no-incomplete-dir}'[don'"'"'t store incomplete torrents in a different directory]' '(-c --incomplete-dir)'{-C,--no-incomplete-dir}'[don'"'"'t store incomplete torrents in a different directory]'
{-w-,--download-dir=}'[when used in conjunction with --add, set the new torrent'"'"'s download folder]:dir:{_files -/}' {-w-,--download-dir=}'[when used in conjunction with --add, set the new torrent'"'"'s download folder]:dir:{_files -/}'
) )
# `torrent_action_only_actions`: *actions* that can be speficied only when explicitly selecting a specific set of torrents # `torrent_action_only_actions`: *actions* that can be specified only when explicitly selecting a specific set of torrents
local torrent_action_only_actions=( local torrent_action_only_actions=(
{-f,--files}'[get a file list for the current torrent(s)]' {-f,--files}'[get a file list for the current torrent(s)]'
{-g,--get}'[mark file(s) for download]:torrent_file:_transmission-remote_torrent_get' {-g,--get}'[mark file(s) for download]:torrent_file:_transmission-remote_torrent_get'
@ -154,7 +154,7 @@ _transmission-remote_torrent(){
local torrents_list_lines=(${(f)"$(transmission-remote "${authentication_args}" --list 2> /dev/null)"}) local torrents_list_lines=(${(f)"$(transmission-remote "${authentication_args}" --list 2> /dev/null)"})
local -a parts local -a parts
local -a torrents_ids torrents_names local -a torrents_ids torrents_names
# While itereating through every line in the output above, we don't need the # While iterating through every line in the output above, we don't need the
# first and last line which are just a header and summary # first and last line which are just a header and summary
for (( t = 2; t < ${#torrents_list_lines[@]} - 1; ++t )); do for (( t = 2; t < ${#torrents_list_lines[@]} - 1; ++t )); do
parts=(${(@s. .)torrents_list_lines[$t]}) parts=(${(@s. .)torrents_list_lines[$t]})

View file

@ -11,7 +11,7 @@
# #
# -l LIMIT Lower limit. Like -u but for the lower boundary. # -l LIMIT Lower limit. Like -u but for the lower boundary.
# #
# -f FUNCTION If given FUNCION is used as a predicate to filter the # -f FUNCTION If given FUNCTION is used as a predicate to filter the
# value in the complete list to generate an arbitrary # value in the complete list to generate an arbitrary
# sub-set. # sub-set.
# #

View file

@ -425,7 +425,7 @@ for prepath in "$prepaths[@]"; do
tmp1=( "$prepath$realpath$donepath$tmp2" ) tmp1=( "$prepath$realpath$donepath$tmp2" )
# count of attemps for pws non-canonical hack # count of attempts for pws non-canonical hack
(( npathcheck = 0 )) (( npathcheck = 0 ))
while true; do while true; do

View file

@ -2244,7 +2244,7 @@ sect(What is multibyte input?)
zsh will be able to use any such encoding as long as it contains ASCII as zsh will be able to use any such encoding as long as it contains ASCII as
a single-octet subset and the system can provide information about other a single-octet subset and the system can provide information about other
characters. However, in the case of Unicode, UTF-8 is the only one you characters. However, in the case of Unicode, UTF-8 is the only one you
are likely to enounter that is useful in zsh. are likely to encounter that is useful in zsh.
(In case you're confused: Unicode is the character set, while UTF-8 is (In case you're confused: Unicode is the character set, while UTF-8 is
an encoding of it. You might hear about other encodings, such as UCS-2 an encoding of it. You might hear about other encodings, such as UCS-2

View file

@ -4,7 +4,7 @@
# With first argument including n, don't change to the old directory; else do. # With first argument including n, don't change to the old directory; else do.
# #
# Set do_close to 1 if the connection was not previously open, 0 otherwise # Set do_close to 1 if the connection was not previously open, 0 otherwise
# With first arguemnt including d, don't set do_close to 1. Broadly # With first argument including d, don't set do_close to 1. Broadly
# speaking, we use this mechanism to shut the connection after use # speaking, we use this mechanism to shut the connection after use
# if the connection had been explicitly closed (i.e. didn't time out, # if the connection had been explicitly closed (i.e. didn't time out,
# which zftp test investigates) and we are not using a directory # which zftp test investigates) and we are not using a directory

View file

@ -10,7 +10,7 @@
# uses the csh to parse its own dot-files, then processes csh output to # uses the csh to parse its own dot-files, then processes csh output to
# convert the csh settings to zsh. # convert the csh settings to zsh.
# #
# When run as a zsh fuction, c2z runs csh as if it were an interactive # When run as a zsh function, c2z runs csh as if it were an interactive
# shell whenever the parent zsh is interactive. When run as a shell # shell whenever the parent zsh is interactive. When run as a shell
# script, the -i switch can be used to force this behavior. # script, the -i switch can be used to force this behavior.
# #

View file

@ -1519,7 +1519,7 @@ zccmd_resize(const char *nam, char **args)
// is not available. // is not available.
return 0; return 0;
} else { } else {
// Without this call some window moves are innacurate. Tested on // Without this call some window moves are inaccurate. Tested on
// OS X ncurses 5.4, Homebrew ncursesw 6.0-2, Arch Linux ncursesw // OS X ncurses 5.4, Homebrew ncursesw 6.0-2, Arch Linux ncursesw
// 6.0, Ubuntu 14.04 ncurses 5.9, FreeBSD ncursesw.so.8 // 6.0, Ubuntu 14.04 ncurses 5.9, FreeBSD ncursesw.so.8
// //

View file

@ -766,7 +766,7 @@ static int remove_tied_name( const char *name ) {
/* /*
* Unmetafy that: * Unmetafy that:
* - duplicates bufer to work on it, * - duplicates buffer to work on it,
* - does zalloc of exact size for the new string, * - does zalloc of exact size for the new string,
* - restores work buffer to original content, to restore strlen * - restores work buffer to original content, to restore strlen
*/ */

View file

@ -1552,7 +1552,7 @@ setpmnameddirs(Param pm, HashTable ht)
} }
} }
/* The INTERACTIVE stuff ensures that the dirs are not immediatly removed /* The INTERACTIVE stuff ensures that the dirs are not immediately removed
* when the sub-pms are deleted. */ * when the sub-pms are deleted. */
i = opts[INTERACTIVE]; i = opts[INTERACTIVE];

View file

@ -35,7 +35,7 @@ typedef struct cexpl *Cexpl;
typedef struct cmgroup *Cmgroup; typedef struct cmgroup *Cmgroup;
typedef struct cmatch *Cmatch; typedef struct cmatch *Cmatch;
/* This is for explantion strings. */ /* This is for explanation strings. */
struct cexpl { struct cexpl {
int always; /* display even without matches */ int always; /* display even without matches */
@ -126,8 +126,8 @@ struct cmatch {
#define CMF_FILE (1<< 0) /* this is a file */ #define CMF_FILE (1<< 0) /* this is a file */
#define CMF_REMOVE (1<< 1) /* remove the suffix */ #define CMF_REMOVE (1<< 1) /* remove the suffix */
#define CMF_ISPAR (1<< 2) /* is paramter expansion */ #define CMF_ISPAR (1<< 2) /* is parameter expansion */
#define CMF_PARBR (1<< 3) /* paramter expansion with a brace */ #define CMF_PARBR (1<< 3) /* parameter expansion with a brace */
#define CMF_PARNEST (1<< 4) /* nested parameter expansion */ #define CMF_PARNEST (1<< 4) /* nested parameter expansion */
#define CMF_NOLIST (1<< 5) /* should not be listed */ #define CMF_NOLIST (1<< 5) /* should not be listed */
#define CMF_DISPLINE (1<< 6) /* display strings one per line */ #define CMF_DISPLINE (1<< 6) /* display strings one per line */

View file

@ -1492,7 +1492,7 @@ set_comp_sep(void)
* are specially handled (but currently only if RCQUOTES is not * are specially handled (but currently only if RCQUOTES is not
* set, which isn't necessarily correct if the quotes were typed by * set, which isn't necessarily correct if the quotes were typed by
* the user). * the user).
* osq: c.f. odq, taking account of Snull's and embeded "'"'s. * osq: c.f. odq, taking account of Snull's and embedded "'"'s.
* qttype: type of quotes using standard QT_* definitions. * qttype: type of quotes using standard QT_* definitions.
* lsq: when quoting is single quotes (QT_SINGLE), counts the offset * lsq: when quoting is single quotes (QT_SINGLE), counts the offset
* adjustment needed in the word being examined in the lexer loop. * adjustment needed in the word being examined in the lexer loop.

View file

@ -1726,7 +1726,7 @@ static Patprog patcomp, filecomp;
* lppre/lpsuf -- the path prefix/suffix, unexpanded * * lppre/lpsuf -- the path prefix/suffix, unexpanded *
* fpre/fsuf -- prefix/suffix of the pathname component the cursor is in * * fpre/fsuf -- prefix/suffix of the pathname component the cursor is in *
* prpre -- ppre in expanded form usable for opendir * * prpre -- ppre in expanded form usable for opendir *
* qipre, qisuf-- ingnored quoted string * * qipre, qisuf-- ignored quoted string *
* * * *
* The integer variables hold the lengths of lpre, lsuf, rpre, rsuf, * * The integer variables hold the lengths of lpre, lsuf, rpre, rsuf, *
* fpre, fsuf, lppre, and lpsuf. noreal is non-zero if we have rpre/rsuf. */ * fpre, fsuf, lppre, and lpsuf. noreal is non-zero if we have rpre/rsuf. */

View file

@ -84,7 +84,7 @@ char *compiprefix,
Param *comprpms; Param *comprpms;
/* /*
* An array of Param structures for elemens of $compstate; see * An array of Param structures for elements of $compstate; see
* 'compkparams' below. * 'compkparams' below.
* *
* See CP_KEYPARAMS. * See CP_KEYPARAMS.

View file

@ -827,7 +827,7 @@ do_ambiguous(void)
* if the completion is completely ambiguous') is set, and some * * if the completion is completely ambiguous') is set, and some *
* prefix was inserted, return now, bypassing the list-displaying * * prefix was inserted, return now, bypassing the list-displaying *
* code. On the way, invalidate the list and note that we don't * * code. On the way, invalidate the list and note that we don't *
* want to enter an AUTO_MENU imediately. */ * want to enter an AUTO_MENU immediately. */
if ((uselist == 3 || if ((uselist == 3 ||
(!uselist && isset(BASHAUTOLIST) && isset(LISTAMBIGUOUS))) && (!uselist && isset(BASHAUTOLIST) && isset(LISTAMBIGUOUS))) &&
la && iforcemenu != -1) { la && iforcemenu != -1) {

View file

@ -967,7 +967,7 @@ struct caarg {
#define CAA_RARGS 4 #define CAA_RARGS 4
#define CAA_RREST 5 #define CAA_RREST 5
/* The cache of parsed descriptons. */ /* The cache of parsed descriptions. */
#define MAX_CACACHE 8 #define MAX_CACACHE 8
static Cadef cadef_cache[MAX_CACACHE]; static Cadef cadef_cache[MAX_CACACHE];

View file

@ -55,7 +55,7 @@ struct keymapname {
HashNode next; /* next in the hash chain */ HashNode next; /* next in the hash chain */
char *nam; /* name of the keymap */ char *nam; /* name of the keymap */
int flags; /* various flags (see below) */ int flags; /* various flags (see below) */
Keymap keymap; /* the keymap itsef */ Keymap keymap; /* the keymap itself */
}; };
/* Can't be deleted (.safe) */ /* Can't be deleted (.safe) */

View file

@ -893,7 +893,7 @@ getbyte(long do_keytmout, int *timeout, int full)
break; break;
if (r == 0) { if (r == 0) {
/* The test for IGNOREEOF was added to make zsh ignore ^Ds /* The test for IGNOREEOF was added to make zsh ignore ^Ds
that were typed while commands are running. Unfortuantely that were typed while commands are running. Unfortunately
this caused trouble under at least one system (SunOS 4.1). this caused trouble under at least one system (SunOS 4.1).
Here shells that lost their xterm (e.g. if it was killed Here shells that lost their xterm (e.g. if it was killed
with -9) didn't fail to read from the terminal but instead with -9) didn't fail to read from the terminal but instead

View file

@ -388,7 +388,7 @@ zle_free_highlight(void)
/* /*
* Interface to the region_highlight ZLE parameter. * Interface to the region_highlight ZLE parameter.
* Converts betwen a format like "P32 42 underline,bold" to * Converts between a format like "P32 42 underline,bold" to
* the format in the region_highlights variable. Note that * the format in the region_highlights variable. Note that
* the region_highlights variable stores the internal (point/mark) * the region_highlights variable stores the internal (point/mark)
* region in element zero. * region in element zero.

View file

@ -2492,7 +2492,7 @@ pattryrefs(Patprog prog, char *string, int stringlen, int unmetalenin,
* Optimization: if we didn't find any Meta characters * Optimization: if we didn't find any Meta characters
* to begin with, we don't need to look for them now. * to begin with, we don't need to look for them now.
* *
* For patstralloc pased in, we want the unmetafied length. * For patstralloc passed in, we want the unmetafied length.
*/ */
if (patstralloc == &patstralloc_struct && if (patstralloc == &patstralloc_struct &&
patstralloc->unmetalen != origlen) { patstralloc->unmetalen != origlen) {

View file

@ -1254,7 +1254,7 @@ enum {
/* /*
* Assignment has value? * Assignment has value?
* If the assignment is an arrray, then it certainly has a value --- we * If the assignment is an array, then it certainly has a value --- we
* can only tell if there's an explicit assignment. * can only tell if there's an explicit assignment.
*/ */

View file

@ -66,7 +66,7 @@
* shell initialisation. * shell initialisation.
*/ */
#define ZTF_INIT (0x0001) /* One-off initialisation done */ #define ZTF_INIT (0x0001) /* One-off initialisation done */
#define ZTF_INTERACT (0x0002) /* Shell interative and reading from stdin */ #define ZTF_INTERACT (0x0002) /* Shell interactive and reading from stdin */
#define ZTF_SP_COMMA (0x0004) /* Treat comma as a special characters */ #define ZTF_SP_COMMA (0x0004) /* Treat comma as a special characters */
#define ZTF_BANGCHAR (0x0008) /* Treat bangchar as a special character */ #define ZTF_BANGCHAR (0x0008) /* Treat bangchar as a special character */

View file

@ -53,7 +53,7 @@
# stderr. # stderr.
# #
# The rules for '<', '>' and '?' lines are the same: only the first # The rules for '<', '>' and '?' lines are the same: only the first
# character is stripped (with the excpetion for '*' noted below), with # character is stripped (with the exception for '*' noted below), with
# subsequent whitespace being significant; lines are not subject to any # subsequent whitespace being significant; lines are not subject to any
# substitution unless the `q' flag (see below) is set. # substitution unless the `q' flag (see below) is set.
# #

View file

@ -2512,7 +2512,7 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
local -a x local -a x
: <<< ${(F)x/y} : <<< ${(F)x/y}
} }
0:Separation / join logic regresssion test 0:Separation / join logic regression test
testpath=/one/two/three/four testpath=/one/two/three/four
for (( i = 0; i <= 6; ++i )); do for (( i = 0; i <= 6; ++i )); do