zsh-users
 help / color / mirror / code / Atom feed
* passing parameters
@ 2005-05-05 21:42 zzapper
  2005-05-06  3:57 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: zzapper @ 2005-05-05 21:42 UTC (permalink / raw)
  To: zsh-users

Hi

I have a script which as follows which works fine (where ftx is going to search for tex docs with
pink & main in the name) 

>ftx "pink.*main"

however I thought I'd convert it so that i could write

> ftx pink main

and then rebuild "pink.*main" string inside the function however it doesn't seem to work

param="$1.*$2"

$param is not treated the same as the original $1


-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips


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

end of thread, other threads:[~2005-05-06 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05 21:42 passing parameters zzapper
2005-05-06  3:57 ` Bart Schaefer
2005-05-06 12:54   ` zzapper
2005-05-06 16:03     ` Bart Schaefer

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