diff options
author | June McEnroe <june@causal.agency> | 2020-03-03 02:01:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-03 02:01:41 -0500 |
commit | 33a92e1bf4bf57ec3c25d21670ee8f11a5302084 (patch) | |
tree | 23be9427a4ce96353016018538ee9eaface647d5 /bin/man1/setopt.1 | |
parent | Use getopts in shell scripts (diff) | |
download | src-33a92e1bf4bf57ec3c25d21670ee8f11a5302084.tar.gz src-33a92e1bf4bf57ec3c25d21670ee8f11a5302084.zip |
Remove setopt
Diffstat (limited to '')
-rw-r--r-- | bin/man1/setopt.1 | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/bin/man1/setopt.1 b/bin/man1/setopt.1 deleted file mode 100644 index 246f06fe..00000000 --- a/bin/man1/setopt.1 +++ /dev/null @@ -1,48 +0,0 @@ -.Dd February 24, 2019 -.Dt SETOPT 1 -.Os -. -.Sh NAME -.Nm setopt -.Nd quoting getopt -. -.Sh SYNOPSIS -.Nm -.Ar optstring -.Op Ar args ... -. -.Sh DESCRIPTION -.Nm -behaves similarly to -.Xr getopt 1 , -except that it produces quoted output -appropriate for use with the -.Nm eval -shell builtin. -This allows arguments containing whitespace -to survive parsing. -. -.Sh EXAMPLES -.Bd -literal -offset indent -args=$(setopt abo: "$@") -eval set -- "$args" -.Ed -. -.Sh SEE ALSO -.Xr getopt 1 , -.Xr sh 1 , -.Xr getopt 3 -. -.Sh HISTORY -The -.Xr getopt 1 -manual page of -.Fx -reads, -.Do -Arguments containing white space -or embedded shell metacharacters -generally will not survive intact; -this looks easy to fix but isn't. -.Dc -Yet here we are. |