Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!zephyr.ens.tek.com!uunet!midway!msuinfo!eecae!harichan From: harichan@eecae.uucp (Ronald Harichandran) Newsgroups: comp.unix.shell Subject: One line If-then-else block in csh possible? Keywords: csh programming Message-ID: <1991Feb13.180658.16244@msuinfo.cl.msu.edu> Date: 13 Feb 91 18:06:58 GMT Sender: news@msuinfo.cl.msu.edu Distribution: comp Organization: Michigan State University Lines: 18 Is it possible to have an if-then-else-endif block on a single line? I wish to do something like if () then command else command endif but wish to have it in a single line like if () then, command, else, command, endif -- Sincerely, Ronald Harichandran