I m writing a bash script that will (hopefully) redirect to a file whose name is generated dynamically, based on the the first argument given to the script, prepended to the some string. The name of the script is ./buildcsvs.
Here s what the code looks like now, without the dynamic file names
#!/bin/bash
mdb-export 2011ROXBURY.mdb TEAM > team.csv
在这里,我喜欢这样说来。
./buildcsvs roxbury
产出
roxburyteam.csv
“1美元”是文字的首批动力,档案名称被像一类的东西所定义。
"%steam" % $1
你们是否有任何想法? 谢谢。