sumdur: Replace -s/--seconds with the more flexible -u/--unit
[sunny256-utils.git] / pri
blob690881e11ad3dff5797c6dffc4d999f67180bcb4
1 #!/bin/sh
3 # pri
4 # File ID: af1db854-5d42-11df-bfc8-90e6ba3022ac
6 pri_dir=~sunny/etc
8 if [ ! -d $pri_dir ]; then
9 mkdir $pri_dir &>/dev/null
12 if [ ! -d $pri_dir ]; then
13 echo "$0: $pri_dir: Directory not found, unable to create it" >&2
14 exit 1
17 # $EDITOR $pri_dir/pri.txt
19 cd ~/p/plan
20 cvs -q upd -d
21 echo -n Trykk ENTER...
22 read
23 vim todo.txt
24 echo -n Trykk ENTER for cvs checkin, cller CTRL-C for å drite i det...
25 read
26 cvs ci -m "Lagt inn med pri-scriptet" todo.txt
27 cd -