projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
falling back if which is not a valid command.
[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