Skip to content

Commit

Permalink
Add bin/line.
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Mar 31, 2012
1 parent e5bc314 commit ffba4f1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/line
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
# From https://github.com/garybernhardt/dotfiles/blob/master/bin/line

if [ $1 = '' ]; then
echo "Usage: $0 line_number"
fi

line_number=$1

head -$line_number | tail -1

0 comments on commit ffba4f1

Please sign in to comment.