user:bh011695:square.sh
- square.sh
#!/bin/bash # square() { x=200 y=200 xwit -root -warp $x $y while [ "$y" -lt 600 ]; do xwit -root -warp $x $y let y=$y+1 done while [ "$x" -lt 600 ]; do xwit -root -warp $x $y let x=$x+1 done while [ "$y" -gt 200 ]; do xwit -root -warp $x $y let y=$y-1 done while [ "$x" -gt 200 ]; do xwit -root -warp $x $y let x=$x-1 done } square square
user/bh011695/square.sh.txt · Last modified: 2010/02/11 01:49 by bh011695