File tree Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Expand file tree Collapse file tree 7 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1010local archive_name path_to_archive _gzip_bin _bzip2_bin _xz_bin _zstd_bin
1111
1212if (( $# < 2 )); then
13- cat >&2 <<EOF
13+ >&2 <<EOF
1414usage: $0 [archive_name.zip] [/path/to/include/into/archive ...]
1515
1616Where 'archive.zip' uses any of the following extensions:
Original file line number Diff line number Diff line change 1010local verbose
1111
1212if (( $# == 0 )); then
13- cat >&2 <<EOF
13+ >&2 <<EOF
1414usage: $0 [-option] [file ...]
1515
1616options:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ local extract_dir
1515local _gzip_bin _bzip2_bin _xz_bin _zstd_bin
1616
1717if (( $# == 0 )); then
18- cat >&2 <<EOF
18+ >&2 <<EOF
1919usage: $0 [-option] [file ...]
2020
2121options:
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ case "$1" in
2626 zcat $(ls -rt /var/log/dpkg*)
2727 ;;
2828 (*)
29- cat >&2 <<EOF
29+ >&2 <<EOF
3030Commands:
3131 install - List installed packages
3232 upgrade - List upgraded packages
Original file line number Diff line number Diff line change 99
1010local usage pattern modifiers invert
1111
12- usage="$(
13- cat <<EOF
12+ usage="$(<<EOF
1413usage: $0 [-option ...] [--] pattern [file ...]
1514
1615options:
Original file line number Diff line number Diff line change 99
1010local usage pattern replacement modifiers
1111
12- usage="$(
13- cat <<EOF
12+ usage="$(<<EOF
1413usage: $0 [-option ...] [--] pattern replacement [file ...]
1514
1615options:
Original file line number Diff line number Diff line change 99
1010# function zsh-help {
1111
12- local usage="$(
13- cat <<EOF
12+ local usage="$(<<EOF
1413usage: $0 [--help] [--zsh-help-debug] [--all] search term(s)
1514Options:
1615 --all - search for the term anywhere, not just at the start of a line.
You can’t perform that action at this time.
0 commit comments