Revision: 6192
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 6, 2008 06:26 by wolfie
Initial Code
#!/bin/bash cwd=`pwd` cmd="$cwd/one_user.pl" params="$cwd/param_file.txt" for line in `cat $params` do ## for deployment uncomment the next line #echo `$cmd $line > logs/$line.txt 2>&1` ## for testing purposes, makes sure that you're getting what you expect echo $cmd $line done echo exit 0
Initial URL
Initial Description
Useful if you need to run the same command for lots and lots of different parameters
Initial Title
Create a batch file wrapper for a script in linux
Initial Tags
Bash
Initial Language
Bash