recentpopularlog in

therobyouknow : shell   37

Bash script, read file into array (Newbie)
while read line ; do
MYARRAY[$index]="$line"
index=$(($index+1))
done < $ips
array  file  howto  linux  load  read  reference  script  syntax  tip  bash  shell  bsh  loop  computing  work 
july 2010 by therobyouknow
Concatenate files
Response 3 works with any file type: copy mar89.rpt + apr89.rpt + may89.rpt report
This command combines the files named MAR89.RPT, APR89.RPT, and MAY89.RPT

Assumes that files weren't split parts being recombined - for that use copy /b file.* which will combine files ending in 001 002 ... 00n
text  file  combine  dos  dosshell  shell  windows  concatenate  append  howto  computing  any  copy  command  console  cli  line 
february 2010 by therobyouknow

Copy this bookmark:





to read