Created
May 27, 2011 23:40
-
-
Save ohrite/996410 to your computer and use it in GitHub Desktop.
Doing cascading.multitool scripting with files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Copyright (c) 2011 Concurrent, Inc. | |
mt_path=`pwd` | |
content=`cat $0 | sed 's/^\s*#.*//g' | tr "\n" " " | sed 's/.*!#//'` | |
exec $mt_path/bin/multitool `eval echo $content` | |
!# | |
# set the source | |
source=$mt_path/data/artist.100.txt | |
# cut the first column | |
cut=0 | |
# save the result to output | |
sink=$mt_path/output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment