all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Split string into shell words?
@ 2004-01-20 16:56 Kai Grossjohann
  2004-01-20 18:04 ` Stefan Monnier
  2004-01-20 23:19 ` Kevin Rodgers
  0 siblings, 2 replies; 5+ messages in thread
From: Kai Grossjohann @ 2004-01-20 16:56 UTC (permalink / raw)


Given a string as in the following line:

        foo "a b" 'c d' e\ f bar

I'd like a function that returns the following list:

        ("foo" "a b" "c d" "e f" "bar")

That is, the string should be split into words like a shell would
split it into words.

I thought there must be a function in comint*.el or shell*.el
somewhere, but couldn't find it.  Probably I'm blind.

Kai

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-28  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20 16:56 Split string into shell words? Kai Grossjohann
2004-01-20 18:04 ` Stefan Monnier
2004-01-28  8:37   ` Kai Grossjohann
2004-01-20 23:19 ` Kevin Rodgers
2004-01-20 23:47   ` Stefan Monnier

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.