How to make a script file?

Anthony M Lovell amlovell at phoenix.Princeton.EDU
Fri Jan 27 04:37:06 AEST 1989


I tried this once before and it didn't seem to go as advertised.

I want to write a shell script (or whatever) which will be used thusly:

scriptname N   ( N an integer)
for i := 1 to 56 do
  cat glob.N bbi.N | Mail bbi

It's pretty easy, I guess - important things to note are that the files
and address aliases bbi must have I always as 2 digits.
ie: bb09

Can you tell me how to do this?
Even if I must have 56 lines to meet the above criteria?
Thanks mucho.

-- 
amlovell at phoenix.princeton.edu     ...since 1963.



More information about the Comp.unix.questions mailing list