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

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


#!/bin/rc

###
# print out ICS stages which $1 overlaps with
###

#usage: span NAME

base=`{awk -F* '$1 ~ /'$1'/  {print $2}' unt.g}
base=`{awk -F* '$1 ~ /'$1'/  {print $2}' unt.g}
top=`{awk -F* '$1 ~ /'$1'/  {print $3}' unt.g}
echo awk -F* '''$4 ~ /ICS/ && $5  ~ /Stage/ &&  $2 >= '$base' && $3 < '$base' {print "from: " $1}''' unt.g | rc
echo awk -F* '''$4 ~ /ICS/ && $5  ~ /Stage/ &&  $2 > '$top' && $3 <= '$top' {print "to: " $1}''' unt.g | rc

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.