zsh-users
 help / color / mirror / code / Atom feed
From: wjf103@york.ac.uk (Wez Furlong)
To: Robert Stone <rstone@accesscom.com>, zsh-users@math.gatech.edu
Subject: Re: kill and pid files
Date: Wed, 18 Jun 1997 14:05:26 +0100	[thread overview]
Message-ID: <199706181305.OAA29601@tower.york.ac.uk> (raw)
In-Reply-To: Robert Stone <rstone@accesscom.com>       "kill and pid files" (Jun 18, 12:25am)

On Jun 18, 12:25am, Robert Stone wrote:

: 	I find myself using "kill -HUP $(cat /var/run/<program>.pid)"

Isn't it more preferable to use $(< /var/run/<program>.pid) ?
This would bypass running cat, and certainly speed up your function by
using zsh's internal file reading.

Feel free to correct me if I'm wrong :)



-- 
Wez - Electronics Undergraduate at the University of York
URL : http://www.twinklestar.demon.co.uk/

Insult Of The Day: Thou dissembling fool-born miscreant!


             reply	other threads:[~1997-06-18 13:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-18 13:05 Wez Furlong [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-06-18  7:25 Robert Stone
1997-06-18 20:16 ` Timothy J Luoma
1997-06-19  6:42   ` Zoltan Hidvegi
1997-06-19 12:19     ` Matt Welland
1997-06-21 15:07     ` Timothy J. Luoma
1997-06-19 10:53   ` Vardhan Varma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199706181305.OAA29601@tower.york.ac.uk \
    --to=wjf103@york.ac.uk \
    --cc=rstone@accesscom.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).