projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updated to support 6 digits instead of 4.
[feisty_meow.git]
/
scripts
/
database
/
movie_stripper.sh
1
#!/bin/bash
2
if [ -z "$1" ]; then
3
echo You must supply a file name to strip out the unique movie or show
4
echo names from...
5
exit 2
6
fi
7
cat "$1" | sed -e 's/^\"\([a-zA-Z0-9][a-zA-Z0-9 ]*\)\",\"\([^\"][^\"]*\)\".*$/\2/' | sort | uniq
8
9