zsh-workers
 help / color / mirror / code / Atom feed
* Prepend/append to the members of a list
@ 2006-10-30 17:09 Jörg Sommer
  2006-10-30 18:23 ` Nikolai Weibull
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jörg Sommer @ 2006-10-30 17:09 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Hi,

somewhere I've used

% ls foo bar bla

Then I've left the directory. Later I want to do

% ls !ls*:(s/^/dir/)

But it does not work, because the s/// expression doesn't know ^.

Or another example:

% cp dir/*.[1-9](:t:s+^+/usr/share/man/man?/+:s/$/.gz/) .

How can I make it? Is this possible?

Bye, Jörg.
-- 
Was man mühelos erreichen kann, ist gewöhnlich nicht der Mühe wert,
erreicht zu werden.

[-- Attachment #2: Type: application/pgp-signature, Size: 481 bytes --]

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

end of thread, other threads:[~2006-11-01 12:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-30 17:09 Prepend/append to the members of a list Jörg Sommer
2006-10-30 18:23 ` Nikolai Weibull
2006-10-31  2:54 ` Bart Schaefer
2006-10-31 14:52 ` Peter Stephenson
2006-10-31 16:31   ` Bart Schaefer
2006-10-31 16:40     ` Nikolai Weibull
2006-10-31 18:01       ` Nikolai Weibull
2006-10-31 17:08     ` Peter Stephenson
2006-11-01 12:24       ` Peter Stephenson

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).