CVS: lunar/bin lvu,1.8,1.9
csm at lunar-linux.org
csm at lunar-linux.org
Sun Aug 10 01:16:23 GMT 2003
Update of /var/cvs/lunar/lunar/bin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv1871/bin
Modified Files:
lvu
Log Message:
merging theedge into lunar and removing subroutines
Index: lvu
===================================================================
RCS file: /var/cvs/lunar/lunar/bin/lvu,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- lvu 16 Apr 2003 19:47:09 -0000 1.8
+++ lvu 10 Aug 2003 01:16:21 -0000 1.9
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
############################################################
# #
# lvu - view Lunar module information #
@@ -25,15 +25,25 @@
############################################################
# #
# Parts Copyrighted Jason Johnston 2002 under GPLv2 #
-# #
# Parts Copyrighted Kagan Kongar 2002 under GPLv2 #
[...1074 lines suppressed...]
+ while true ; do
+ case "$1" in
+ -d|--debug ) (( LUNAR_DEBUG++ )) ; export LUNAR_DEBUG ; shift ;;
+ -h|--help ) help ; exit ;;
+ -v|--verbose ) export VERBOSE="on" ; shift ;;
+ --) shift ; break ;;
+ *) help ; break ;;
+ esac
+ done
- if [ $# == 0 ] ; then
- help | view_file
- else
- parse $@
- fi
+ main $@
+fi
More information about the Lunar-commits
mailing list