Skip to content

Commit ba68afd

Browse files
committed
[css2] Added to check css examples
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40611
1 parent a7a77a1 commit ba68afd

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

css2/bin/Attic/chkcss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
#Uses the CSS validator from Philippe Le He'garet
3+
#which requires a class file and java 1.1
4+
CSSCLASS=/u/www43/0/w3c/plehegar/classes.zip
5+
JAVA="/usr/local/java11/bin/java"
6+
CHKCSS="env CLASSPATH=$CSSCLASS $JAVA CSS.CSS.StyleSheetCom -e"
7+
USAGE="chkcss <file1> <file2> ..."
8+
9+
if [ $# -lt 1 ]
10+
then
11+
echo $USAGE; exit 1
12+
fi
13+
14+
$CHKCSS $@
15+

css2/bin/chkcss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
#Uses the CSS validator from Philippe Le He'garet
3+
#which requires a class file and java 1.1
4+
CSSCLASS=/u/www43/0/w3c/plehegar/classes.zip
5+
JAVA="/usr/local/java11/bin/java"
6+
CHKCSS="env CLASSPATH=$CSSCLASS $JAVA CSS.CSS.StyleSheetCom -e"
7+
USAGE="chkcss <file1> <file2> ..."
8+
9+
if [ $# -lt 1 ]
10+
then
11+
echo $USAGE; exit 1
12+
fi
13+
14+
$CHKCSS $@
15+

0 commit comments

Comments
 (0)