summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-03 02:01:12 -0500
committerJune McEnroe <june@causal.agency>2020-03-03 02:01:41 -0500
commitbfdf62e0dbe478e4afd3493a9410b2eac83fedc8 (patch)
tree85f88ecc70fdf658aee15c1f41752c655c44a110 /bin/man1
parentUse getopts in shell scripts (diff)
downloadsrc-bfdf62e0dbe478e4afd3493a9410b2eac83fedc8.tar.gz
src-bfdf62e0dbe478e4afd3493a9410b2eac83fedc8.zip
Remove setopt
Diffstat (limited to 'bin/man1')
-rw-r--r--bin/man1/setopt.148
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.
iptJune McEnroe I never use it. 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe My system is probably such a mess now... 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe Reading has really slowed down :( 2020-09-07Add SunglassesJune McEnroe An IRC find. 2020-09-06Add Between the BreathsJune McEnroe One of those good songs from a soundtrack of a film that probably isn't? The summary sounds a lot more interesting than the title implies, at least. 2020-09-04Open /dev/tty in nudgeJune McEnroe This makes it work even when it's run connected to a pipe, i.e. as the notify command of catgirl... 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe I guess this got lost somewhere, long ago... 2020-08-29Add tweets from retweetsJune McEnroe