Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!ccicpg!taurus!leo!nhan From: nhan@leo.UUCP (Hugh Nhan) Newsgroups: comp.editors Subject: :":!cc %" in vi. Keywords: what went wrong. Message-ID: <276@leo.UUCP> Date: 23 Oct 89 18:21:16 GMT Distribution: na Organization: ICL North America, Irvine, CA. Lines: 16 Hi netters: Could anyone lights me up with this simple problem. While i was VIing a file, named foo.c, i tried to do: :!cc % i got the following error: "ld crt0.o fatal: Can't open file foo.c for input" but if i did: :!cc foo.c then everything was fine. It seems to me that the shell substituted '%' for the current file name correctly, but the search path was somewhere else!!! I only got such problem on AT&T machine SYSV 2.1.2. Thanx for your helps in advance.