all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: grep command doc - point out that you can chain now
Date: Tue, 18 Jul 2006 11:00:13 -0400	[thread overview]
Message-ID: <E1G2r3V-0004JW-PW@fencepost.gnu.org> (raw)
In-Reply-To: <EIENLHALHGIMHGDOLMIMAENACJAA.drew.adams@oracle.com>

    I'd say that this should perhaps be made more clear in the Emacs-Lisp doc
    for `start-process'. That doc does point out that `start-process' starts an
    asynchronous process, and it says that whatever you give it as &rest args
    are treated like command-line args, but, though I've read that before and
    used `start-process' several times, I never interpreted "command-line
    arguments for the program" (e.g. grep) to mean whatever might be on the
    command line, including pipes (and redirection etc., presumably).

Your previous interpretation was correct: args to start-process are
passed to the program.  In general, pipes and redirection are NOT
allowed.

They work in these specific contexts which use start-process to run
the shell.  The string you type is passed as argument to the shell.

  reply	other threads:[~2006-07-18 15:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17  3:39 grep command doc - point out that you can chain now Drew Adams
2006-07-17  7:26 ` David Kastrup
2006-07-17  8:19   ` Nick Roberts
2006-07-17 15:28     ` Drew Adams
2006-07-17 17:59       ` Eli Zaretskii
2006-07-17 18:20         ` Drew Adams
2006-07-18  0:12     ` Richard Stallman
2006-07-18  2:30       ` Nick Roberts
2006-07-18  4:22         ` Drew Adams
2006-07-18  5:02           ` Nick Roberts
2006-07-18  5:53             ` Drew Adams
2006-07-18 15:00               ` Richard Stallman [this message]
2006-07-18 14:59         ` Richard Stallman
2006-07-18 21:12           ` Nick Roberts
2006-07-19  6:05             ` Richard Stallman
2006-07-19  7:02               ` Nick Roberts
2006-07-19  8:52                 ` Drew Adams
2006-07-19  9:05                   ` Nick Roberts
2006-07-19 21:15                 ` Richard Stallman

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=E1G2r3V-0004JW-PW@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.