Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: olof/hacks
base: baaf2af780
...
head fork: olof/hacks
compare: e5886e884a
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 3 additions and 4 deletions.
  1. +2 −3 rfc
  2. +1 −1  soundcloud.sh
View
5 rfc
@@ -3,13 +3,12 @@
[ "$PAGER" ] || PAGER=less
uri_tmpl='http://www.rfc-editor.org/rfc/rfc%d.txt';
-rfcn=$( printf $1 | sed 's/[^0-9]//g' );
+rfcn=$( echo "$1" | sed 's/[^0-9]//g' );
if [ -z "$rfcn" ]; then
echo "Usage: rfc <RFC>";
- exit;
+ exit 1;
fi
uri=$( printf $uri_tmpl $rfcn );
-
curl --silent $uri | $PAGER;
View
2  soundcloud.sh
@@ -14,7 +14,7 @@ die() {
}
WEB=$1
-[ -n "$WEB" ] || die 'Need to supply a URL'
+[ -n "$WEB" ] || die 'Need to supply an URL'
TITLE="${WEB##*/}"
[ -n "$TITLE" ] || die "$WEB should not end with /"

No commit comments for this range

Something went wrong with that request. Please try again.