Difference between revisions of "Object Oriented Programming"
esse quam videri
Line 4: | Line 4: | ||
<code> | <code> | ||
− | < | + | <sh/> |
− | / | + | #!/bin/bash |
− | + | #Getting some variables | |
− | + | FULLPATH=`dirname $1`; | |
− | + | BASE=`basename $1`; | |
− | + | # Needs an argument | |
− | + | if [ $# -eq 0 ] ; then | |
− | + | # no argument given, print usage | |
− | + | echo "start control version on configuration file"; | |
− | + | echo "use: $0 file"; | |
− | + | else | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</code> | </code> |
Revision as of 05:38, 6 January 2006
POOP
poop test
<sh/>
- !/bin/bash
- Getting some variables
FULLPATH=`dirname $1`; BASE=`basename $1`;
- Needs an argument
if [ $# -eq 0 ] ; then
# no argument given, print usage echo "start control version on configuration file"; echo "use: $0 file";
else