projects
/
lectures
/
dfb-slides.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1725e98
)
-
author
hackbard
<hackbard>
Sat, 22 Mar 2003 09:17:12 +0000
(09:17 +0000)
committer
hackbard
<hackbard>
Sat, 22 Mar 2003 09:17:12 +0000
(09:17 +0000)
head2xml
patch
|
blob
|
history
diff --git
a/head2xml
b/head2xml
index
4f3d5ed
..
26ecd0c
100755
(executable)
--- a/
head2xml
+++ b/
head2xml
@@
-1,9
+1,9
@@
#!/bin/sh
-if [ -z "$1" ]; then
-
echo "usage: $0 <metafile>"
-
exit
-fi
+
#
if [ -z "$1" ]; then
+
#
echo "usage: $0 <metafile>"
+
#
exit
+
#
fi
trgfile="header.xml" ; srcfile=$1
# general
@@
-21,7
+21,7
@@
total=`grep '^[0-9]' $srcfile | tail -1 | awk '{ print $1 }'`
((count = 0))
# print normal header
-cat
> $trgfile
<< EOF
+cat << EOF
<slide effect="none">
<header size="10"></header>