Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSIX shell checklist #1

Open
xiaq opened this issue Mar 21, 2023 · 0 comments
Open

POSIX shell checklist #1

xiaq opened this issue Mar 21, 2023 · 0 comments

Comments

@xiaq
Copy link
Member

xiaq commented Mar 21, 2023

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant