Skip to content

POSIX shell checklist #1

Description

@xiaq
  • 2.2.1 Backslash escaping
  • 2.2.1 Line continuation
  • 2.2.2 Single quotes
  • 2.2.3 Double quotes
  • 2.3 Comment
    • 2.3.1 Alias substitution - test in alias instead
  • 2.5.1 Positional parameters
  • 2.5.2 Special parameters
    • @
    • *
    • #
    • ?
    • -
    • $
    • !
    • 0
  • 2.5.3 Shell variables
    • $ENV
    • $HOME
    • $IFS
    • $LANG, $LC_*, $NLSPATH
    • $LINENO
    • $PATH
    • $PPID
    • $PS1
    • $PS2
    • $PS4
    • $PWD
  • 2.6 Order of expansion
  • 2.6 Unparsed $
  • 2.6.1 Tilde expansion
  • 2.6.2 Parameter expansion
    • ${parameter}
    • ${parameter:-[word]}
    • ${parameter:=[word]}
    • ${parameter:?[word]}
    • ${parameter:+[word]}
    • ${#parameter}
    • ${parameter:%[word]}
    • ${parameter:%%[word]}
    • ${parameter:#[word]}
    • ${parameter:##[word]}
  • 2.6.3 Command substitution
  • 2.6.4 Arithmetic expansion
  • 2.6.5 Field splitting
  • 2.6.6 Pathname expansion
  • 2.6.7 Quote removal
  • 2.7.1 Redirecting input
  • 2.7.2 Redirecting output
  • 2.7.3 Appending redirected output
  • 2.7.4 Here-document
  • 2.7.5 Duplicating an input file descriptor
  • 2.7.6 Duplicating an output file descriptor
  • 2.7.{5,6} Closing of file descriptor
  • 2.7.7 Open file descriptors for reading and writing
  • 2.8.1 Consequences of shell errors
  • 2.8.3 Exit status for commands
  • 2.9.1 Simple commands
  • 2.9.1 Built-in commands
    • alias
    • bg
    • cd
    • command
    • false
    • fc
    • fg
    • getopts
    • hash
    • jobs
    • kill
    • newgrp
    • pwd
    • read
    • true
    • type
    • ulimit
    • umask
    • unalias
    • wait
  • 2.9.2 Pipelines
  • 2.9.3 Lists (except async lists)
  • 2.9.3 Async lists
  • 2.9.4 Compound commands
    • ( )
    • { }
    • for
    • case
    • if
    • while
    • until
  • 2.9.5 Function definition commands
  • 2.10 Shell grammar
  • 2.11 Signals and error handling
  • 2.12 Shell execution environment
  • 2.13 Pattern matching notation
  • 2.14 Special built-in utilities
    • break
    • :
    • continue
    • .
    • eval
    • exec
    • exit
    • export
    • readonly
    • return
    • set
    • shift
    • times
    • trap
    • unset
  • Options
    • allexport
    • errexit
    • ignoreeof
    • monitor
    • noclobber
    • noglob
    • noexec
    • nolog
    • notify
    • nounset
    • verbose
    • xtrace
    • -h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions