On Tue, Feb 12, 2013 at 04:20:53AM -0800, laurent.tes...@gmail.com wrote:
> > liste=`ls *.T02`
This is broken because filenames may contain spaces, newlines, etc.
Use an array instead:
liste=(*.T02)
See http://mywiki.wooledge.org/BashPitfalls for an explanation of some
of the issues.
This type
Dear All,
I need to run a command that concat a list of files. It work like cat in UNIX.
teqc.exe file1 file2 ... > output
Then I want to build this list of file with bash, and insert it in a shell
script.
> liste=`ls *.T02`
> echo $liste
SHOB087k.T02 SHOB087l.T02 SHOB087m.T02 SHOB087n.T