Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!rutgers!njin!princeton!phoenix!amlovell From: amlovell@phoenix.Princeton.EDU (Anthony M Lovell) Newsgroups: comp.unix.questions Subject: How to make a script file? Keywords: Ultrix 2.0 Message-ID: <5828@phoenix.Princeton.EDU> Date: 26 Jan 89 18:37:06 GMT Distribution: na Organization: Princeton University, NJ Lines: 18 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@phoenix.princeton.edu ...since 1963.