Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!hsi!kenney From: kenney@hsi.UUCP (Brian Kenney) Newsgroups: comp.unix.questions Subject: K Shell script problem Message-ID: <1980@hsi86.hsi.UUCP> Date: 23 Aug 90 15:25:06 GMT Reply-To: kenney@hsi.com (Brian Kenney) Distribution: na Organization: 3M Health Information Systems, Wallingford, CT. Lines: 21 OK, net.gentlepeople, how about this this one? In a K Shell script, I have a line like this: export FOO="This is part 1." \ FOO="${FOO}This is part 2." print $FOO The only thing that is printed is "This is part 2." Now, if I remove the 'export', so the lines are: FOO="This is part 1." \ FOO="${FOO}This is part 2." print $FOO Now, both parts are printed. What gives? Any help would be appreciated. Thanks. -- Brian Kenney kenney@hsi.com