HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/zsh/functions/Completion/Unix/_tac
#compdef tac gtac

# NetBSD (at least) has its own bare-bones version of this tool
_pick_variant gnu='Free Soft' unix --version || {
  _default
  return
}

_arguments -s -S : \
  '(: -)--help[display help information]' \
  '(: -)--version[display version information]' \
  '(-b --before)'{-b,--before}'[attach separator before instead of after]' \
  '(-r --regex)'{-r,--regex}'[treat separator as regular expression (with -s)]' \
  '(-s --separator)'{-s+,--separator=}'[use specified separator instead of newline]:separator' \
  '*: :_files'