# Make sure that a file can be closed with a set timestamp:
rm -rf close_timestamp
svms new -R close_timestamp close_timestamp
cd close_timestamp ; mkdir subdir ; svms mkdir subdir
echo Hello > close_timestamp/subdir/hello.txt
cd close_timestamp/subdir ; svms create -T {timestamp} hello.txt
cd close_timestamp/subdir ; svms open hello.txt
echo Goodbye >> close_timestamp/subdir/hello.txt
cd close_timestamp/subdir ; svms close -n -T {timestamp} hello.txt
ls -R close_timestamp
SVMS
subdir

close_timestamp/SVMS:
d.subdir
h.subdir
p.listing
p.project

close_timestamp/SVMS/d.subdir:
h.hello.txt
p.listing

close_timestamp/subdir:
hello.txt
cat close_timestamp/SVMS/d.subdir/h.hello.txt |		\
  sed "s,{timestamp},{TS1},g" |	\
  sed "s,{timestamp},{TS2},g"
H "SVMS_History_File" 1. 0.
N "hello.txt"  "{timestamp}"
V 0. "close_timestamp"  "{timestamp}" F  "{TS1}"
L 1.
T "Hello"
D 1. |0:0!1.
C 0.
I 0.
X 0. 0. "File" "close_timestamp"  "{timestamp}"  "{TS1}" 0. "Wayne C. Gramlich" F F
V 1. "close_timestamp"  "{timestamp}" F  "{TS2}"
L 2.
T "Goodbye"
R "2. |0:0!1. |1:0!1."
D 1. @1:1!1.
C 0.
I 0.
X 1. 1. "File" "close_timestamp"  "{timestamp}"  "{TS2}" 1. "Wayne C. Gramlich" T 0. F
rm -rf close_timestamp
