changeset: 46:075dc5bdb318
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Fri Feb 02 14:04:40 2007 +0100
files: edit.rc show.rc
description:
removed some other useless lines
diff -r b4f901b1ce9a -r 075dc5bdb318 edit.rc
--- a/edit.rc Fri Feb 02 13:48:21 2007 +0100
+++ b/edit.rc Fri Feb 02 14:04:40 2007 +0100
@@ -54,9 +54,8 @@ cat <<END
<form action="$ADDRESS/$SAVE/$PATH_INFO" method="post">
<textarea name='text' id='text' cols='80' rows='43'>
END
-if(test -f $DIRIDIR/$PATH_INFO.diri) {
+if(test -f $DIRIDIR/$PATH_INFO.diri)
cat $DIRIDIR/$PATH_INFO.diri
-}
cat <<END
</textarea>
<p><small>
diff -r b4f901b1ce9a -r 075dc5bdb318 show.rc
--- a/show.rc Fri Feb 02 13:48:21 2007 +0100
+++ b/show.rc Fri Feb 02 14:04:40 2007 +0100
@@ -3,12 +3,10 @@
fn menu {
level=`{expr $1 + 1}
- if(test $level -le $#paths) {
+ if(test $level -le $#paths)
sub=$paths($level)
- }
- if not {
+ if not
sub=()
- }
echo '<ul>'
for(file in $2/*) {
file=`{cleanname $file}
Received on Fri Feb 02 2007 - 14:10:02 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:50 UTC