Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/lib/riostart.torrent

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


#!/bin/rc
for(i in `{cat $home/src/get}){
	torrent=`{echo $"i | sed 's/.*\///g'}
	dir=`{echo $"i | sed 's/'$"torrent'//g'}
	title=`{echo $"torrent | sed s'/\.torrent//g'}
	window -scroll 'cpu -h ttr -c ''cd '''$dir'''; ip/torrent -pv '''$torrent''' | aux/statusbar -t '''$title''' && rm '''$torrent'''; 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 [email protected].