From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97134817212993.tru64-unix-managers.marc@archive.invalid> From: Nikola Milutinovic Date: Thu, 12 Oct 2000 10:56:13 +0000 To: tru64-unix-managers Subject: ZSh question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97134817212993 Hi all. A simple ZSh and possibly other shells related question. I have a (config) file with lines like this: ITEM1 VALUE1 ITEM2 VALUE2 ..... I would like to parse it and I have tried the following: for i in `cat file.cfg` do ... done The problem is $i is not a line of CFG file, but a single word. Is there a way to make $i be the entire line, like awk would do it? awk '{ ...processing... }' file.cfg Nix.