Added tscompare files.
This commit is contained in:
parent
a9baaafd30
commit
e64d92439b
5 changed files with 54 additions and 0 deletions
13
bin/tscompare
Executable file
13
bin/tscompare
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/csh
|
||||
#
|
||||
# Test whether $1 has a modification time
|
||||
# greater than $2
|
||||
#
|
||||
test $1 -nt $2
|
||||
set tres = $status
|
||||
# echo "tres = " $tres
|
||||
if ( $tres == "0" ) then
|
||||
exit 0
|
||||
endif
|
||||
# echo we are here
|
||||
exit 1
|
||||
8
bin/tscompare_alwaystrue
Executable file
8
bin/tscompare_alwaystrue
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Test whether $1 has a modification time
|
||||
# greater than $2
|
||||
#
|
||||
# This is the default base case, if no other
|
||||
# script works.
|
||||
exit 0
|
||||
13
bin/tscompare_csh
Executable file
13
bin/tscompare_csh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/csh
|
||||
#
|
||||
# Test whether $1 has a modification time
|
||||
# greater than $2
|
||||
#
|
||||
test $1 -nt $2
|
||||
set tres = $status
|
||||
# echo "tres = " $tres
|
||||
if ( $tres == "0" ) then
|
||||
exit 0
|
||||
endif
|
||||
# echo we are here
|
||||
exit 1
|
||||
10
bin/tscompare_ksh
Executable file
10
bin/tscompare_ksh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/ksh
|
||||
#
|
||||
# Test whether $1 has a modification time
|
||||
# greater than $2
|
||||
#
|
||||
if test $1 -nt $2 ; then
|
||||
exit 0
|
||||
fi
|
||||
#echo we are here
|
||||
exit 1
|
||||
10
bin/tscompare_sh
Executable file
10
bin/tscompare_sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Test whether $1 has a modification time
|
||||
# greater than $2
|
||||
#
|
||||
if test $1 -nt $2 ; then
|
||||
exit 0
|
||||
fi
|
||||
#echo we are here
|
||||
exit 1
|
||||
Loading…
Add table
Reference in a new issue