zsh-users
 help / color / mirror / code / Atom feed
* How to set an option for a single command
@ 1996-09-19  8:40 Helmut Jarausch
  1996-09-19 11:43 ` Richard Coleman
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 1996-09-19  8:40 UTC (permalink / raw)
  To: zsh-users


Hello,
please tell if there is a possibility to set an option like NULL_GLOB (-G)
for single command only.

I only came up to starting a subshell

zsh -G -c "rm *.o *.a"

Thanks for any hints,
Helmut Jarausch.



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

* Re: How to set an option for a single command
  1996-09-19  8:40 How to set an option for a single command Helmut Jarausch
@ 1996-09-19 11:43 ` Richard Coleman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Coleman @ 1996-09-19 11:43 UTC (permalink / raw)
  To: Helmut Jarausch; +Cc: zsh-users

> please tell if there is a possibility to set an option like NULL_GLOB (-G)
> for single command only.
> 
> I only came up to starting a subshell
> 
> zsh -G -c "rm *.o *.a"
> 
> Thanks for any hints,
> Helmut Jarausch.

Add the modifier (N) to end of glob pattern.  Check
out zshexpn man page for the whole list of modifiers.

rm *.o(N) *.a(N)

rc


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

end of thread, other threads:[~1996-09-19 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-19  8:40 How to set an option for a single command Helmut Jarausch
1996-09-19 11:43 ` Richard Coleman

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