On Jan 12, 2004, at 6:04 PM, Xpression wrote:
[ ...a question on how to change a shell script... ]
Try:
#! /bin/sh
path=/some/dir
if !([ -f $path/this.one ]); then
touch $path/this.one
for file in $path/file1 $path/file2 $path/file3; do
echo "
On Monday 12 January 2004 05:04 pm, Xpression wrote:
> Hi list, I've making a script to write the content of three text files to
> one file, but I want to separate each files by a delimiter like the name of
> the file.
>
> This is the script:
>
> #! /bin/sh
> path=/some/dir
> if !([ -f $path/this.o
> Hi list, I've making a script to write the content of three text files
> to one file, but I want to separate each files by a delimiter like the
> name of the file.
Maybe this little sh(1) script can do the job:
# = begin.script =
#! /bin/sh
path=