From owner-freebsd-stable Sun Jun 9 9:20:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by hub.freebsd.org (Postfix) with ESMTP id B6C9837B408 for ; Sun, 9 Jun 2002 09:20:41 -0700 (PDT) Received: from localhost (marck@localhost) by woozle.rinet.ru (8.11.6/8.11.6) with ESMTP id g59GKF921255; Sun, 9 Jun 2002 20:20:16 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 9 Jun 2002 20:20:15 +0400 (MSD) From: Dmitry Morozovsky To: Adrian Filipi-Martin Cc: Larry Rosenman , Patrick Calkins , "Stable (stable@freebsd.org)" Subject: Re: OT: Passing kill a pid-file In-Reply-To: <20020607102016.L76734-100000@lorax.ubergeeks.com> Message-ID: <20020609201909.J7944-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Jun 2002, Adrian Filipi-Martin wrote: AF> > kill -9 `cat /bla/bla/my.pid` AF> > AF> > note that the quotes are back ticks. AF> AF> If you are not stuck on back-ticks because you've use them for 15+ AF> years, I suggest you use the more modern $() syntax. The above would read AF> as follows: AF> AF> kill -KILL $(cat /bla/bla/my.pid) AF> Another note: *NOT* under csh/tcsh, while backticks work there. [snip] Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message