Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/dat/strat/scripts/preceeds

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

###
# print stage that preceeds NAME
###

name=$1
base=`{awk -F* '$1 ~ /'$name'/  {print $2}' unt.g}
where=`{awk -F* '$1 ~ /'$name'/  {print $4}' unt.g}
awk -F* '$4 ~ /'$where'/ && $5  ~ /Stage/ &&  $3 == '$base'  {print  $1}' unt.g 


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.