diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-03-10 09:35:06 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-03-10 09:35:06 -0700 |
commit | 06ea44c895a5f97b7b9b65fce84dec2700f443fb (patch) | |
tree | 7a09bd65c8c57c4a4f635ccc444513e02efa768d /rc | |
parent | fc90f7a666da0b1634797d8596e8fdd4bbeba956 (diff) | |
download | plan9front-06ea44c895a5f97b7b9b65fce84dec2700f443fb.tar.xz |
fix -T option for doctype
We used to set $dev to -T, and leave the device type
in the argument list. Now, we set it to -T$2, and shift
it out of the list.
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/doctype | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/bin/doctype b/rc/bin/doctype index e027fe13b..0f04f91ef 100755 --- a/rc/bin/doctype +++ b/rc/bin/doctype @@ -13,7 +13,8 @@ while(~ $1 -*){ eqn=neqn prefer='prefer -n' case -T - dev=$1 + dev=-T$2 + shift case -* opt=$opt' $1' } |