Merge pull request #3307 from e-kwsm/posix.1-2024

feat!: update commands in conformance with POSIX.1-2024
This commit is contained in:
Vidar Holen
2025-09-24 19:18:53 -07:00
committed by GitHub

View File

@@ -104,31 +104,31 @@ commonCommands = [
"compress", "continue", "cp", "crontab", "csplit", "ctags", "cut", "compress", "continue", "cp", "crontab", "csplit", "ctags", "cut",
"cxref", "date", "dd", "delta", "df", "diff", "dirname", "dot", "cxref", "date", "dd", "delta", "df", "diff", "dirname", "dot",
"du", "echo", "ed", "env", "eval", "ex", "exec", "exit", "expand", "du", "echo", "ed", "env", "eval", "ex", "exec", "exit", "expand",
"export", "expr", "fc", "fg", "file", "find", "fold", "fort77", "export", "expr", "fc", "fg", "file", "find", "fold", "fuser",
"fuser", "gencat", "get", "getconf", "getopts", "grep", "hash", "gencat", "get", "getconf", "getopts", "gettext", "grep", "hash",
"head", "iconv", "ipcrm", "ipcs", "jobs", "join", "kill", "lex", "head", "iconv", "ipcrm", "ipcs", "jobs", "join", "kill", "lex",
"link", "ln", "locale", "localedef", "logger", "logname", "lp", "link", "ln", "locale", "localedef", "logger", "logname", "lp",
"ls", "m4", "mailx", "make", "man", "mesg", "mkdir", "mkfifo", "ls", "m4", "mailx", "make", "man", "mesg", "mkdir", "mkfifo",
"more", "mv", "newgrp", "nice", "nl", "nm", "nohup", "od", "paste", "more", "msgfmt", "mv", "newgrp", "ngettext", "nice", "nl", "nm",
"patch", "pathchk", "pax", "pr", "printf", "prs", "ps", "pwd", "nohup", "od", "paste", "patch", "pathchk", "pax", "pr", "printf",
"qalter", "qdel", "qhold", "qmove", "qmsg", "qrerun", "qrls", "prs", "ps", "pwd", "read", "readlink", "readonly", "realpath",
"qselect", "qsig", "qstat", "qsub", "read", "readonly", "renice", "renice", "return", "rm", "rmdel", "rmdir", "sact", "sccs", "sed",
"return", "rm", "rmdel", "rmdir", "sact", "sccs", "sed", "set", "set", "sh", "shift", "sleep", "sort", "split", "strings", "strip",
"sh", "shift", "sleep", "sort", "split", "strings", "strip", "stty", "stty", "tabs", "tail", "talk", "tee", "test", "time", "timeout",
"tabs", "tail", "talk", "tee", "test", "time", "times", "touch", "times", "touch", "tput", "tr", "trap", "tsort", "tty", "type",
"tput", "tr", "trap", "tsort", "tty", "type", "ulimit", "umask", "ulimit", "umask", "unalias", "uname", "uncompress", "unexpand",
"unalias", "uname", "uncompress", "unexpand", "unget", "uniq", "unget", "uniq", "unlink", "unset", "uucp", "uudecode", "uuencode",
"unlink", "unset", "uucp", "uudecode", "uuencode", "uustat", "uux", "uustat", "uux", "val", "vi", "wait", "wc", "what", "who", "write",
"val", "vi", "wait", "wc", "what", "who", "write", "xargs", "yacc", "xargs", "xgettext", "yacc", "zcat"
"zcat"
] ]
nonReadingCommands = [ nonReadingCommands = [
"alias", "basename", "bg", "cal", "cd", "chgrp", "chmod", "chown", "alias", "basename", "bg", "cal", "cd", "chgrp", "chmod", "chown",
"cp", "du", "echo", "export", "fg", "fuser", "getconf", "cp", "du", "echo", "export", "fg", "fuser", "getconf",
"getopt", "getopts", "ipcrm", "ipcs", "jobs", "kill", "ln", "ls", "getopt", "getopts", "ipcrm", "ipcs", "jobs", "kill", "ln", "ls",
"locale", "mv", "printf", "ps", "pwd", "renice", "rm", "rmdir", "locale", "mv", "printf", "ps", "pwd", "readlink", "realpath",
"set", "sleep", "touch", "trap", "ulimit", "unalias", "uname" "renice", "rm", "rmdir", "set", "sleep", "touch", "trap", "ulimit",
"unalias", "uname"
] ]
sampleWords = [ sampleWords = [