diff options
Diffstat (limited to 'final.rc')
-rwxr-xr-x | final.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/final.rc b/final.rc new file mode 100755 index 0000000..d9e4881 --- /dev/null +++ b/final.rc @@ -0,0 +1,6 @@ +#!/usr/local/plan9/bin/rc + +for (i in *csv) { + out=`{echo $i | sed -e 's/inauthor://' -e 's/%20/ /g' -e 's/.intitle:/, /g'} + mv $i $"out +} |