gdritter repos GRUtils / 17e7edd
Some common shell scripts too Getty Ritter 9 years ago
3 changed file(s) with 19 addition(s) and 0 deletion(s). Collapse all Expand all
1 #!/bin/sh
2
3 FILENAME=$(mktemp)
4 cat >$FILENAME
5 echo $FILENAME
1 #!/bin/sh
2
3 if [[ "$1" = /* ]]; then
4 firefox file://$1
5 else
6 firefox file://$(pwd)/$1
7 fi
1 #!/bin/sh
2
3 if [[ "$1" = /* ]]; then
4 surf file://$1
5 else
6 surf file://$(pwd)/$1
7 fi