Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 20:20:15 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Adrian Filipi-Martin <adrian@ubergeeks.com>
Cc:        Larry Rosenman <ler@lerctr.org>, Patrick Calkins <pcalkins@oemsupport.com>, "Stable (stable@freebsd.org)" <stable@FreeBSD.ORG>
Subject:   Re: OT: Passing kill a pid-file
Message-ID:  <20020609201909.J7944-100000@woozle.rinet.ru>
In-Reply-To: <20020607102016.L76734-100000@lorax.ubergeeks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609201909.J7944-100000>