linux/scripts/mkversion
<<
>>
Prefs
   1if [ ! -f .version ]
   2then
   3    echo 1
   4else
   5    expr 0`cat .version` + 1
   6fi
   7
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.