Plan 9 from Bell Labs’s /n/sources/patch/applied/getflags-script-changes/ar89.orig

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


#!/bin/rc
ifs='' eval `{getflags cdprtxuv $*}

key=''
if (~ $#FLAGc 1) key=$key^c
if (~ $#FLAGd 1) key=$key^d
if (~ $#FLAGp 1) key=$key^p
if (~ $#FLAGr 1) key=$key^r
if (~ $#FLAGt 1) key=$key^t
if (~ $#FLAGx 1) key=$key^x
if (~ $#FLAGu 1) key=$key^u
if (~ $#FLAGv 1) key=$key^v
exec /$cputype/bin/ar $key $*

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.