Path: utzoo!attcan!uunet!clyde.concordia.ca!cidsv01.cid.aes.doe.CA!cidsv01.cid.aes.doe.CA!afsipmh From: afsipmh@cid.aes.doe.CA (Patrick Hertel) Newsgroups: comp.unix.questions Subject: split afile into subiles with specific names Message-ID: <1990Jul27.182221.7202@cid.aes.doe.CA> Date: 27 Jul 90 18:22:21 GMT Sender: afsipmh@cid.aes.doe.CA (Patrick Hertel) Reply-To: afsipmh@cid.aes.doe.CA (Patrick Hertel) Distribution: na Organization: Environment Canada Lines: 21 How would i go about doing the following (ed,sed,ex,vi,awk,perl even): Take a file something like this -> *DECK A jcl jcl *DECK B jcl . *DECK PAT etc. .. and divide it up into files with names A, B, PAT (or whatever follows *DECK). This is the hard part, at laest for me because I am not fully UNIX literate yet.. -- Pat Hertel Canadian Meteorological Centre Analyst/Programmer 2121 N. Service Rd. phertel@cmc.aes.doe.ca Dorval,Quebec Environment Canada CANADA H9P1J3