Some awk

Some awk:

awk -F, ‘{print “echo cmd /k timestamp_begin > ” $2 “.batnecho ps_oracle gbsissbsvdbs18 ” $3 ” >> ” $2 “.batn” “echo cmd /k timestamp_end > > ” $2 “.bat” }’ *_u.csv

Advertisements