Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Passing sentences to an array



Hi sorry me again.

filessubject=($(egrep -i "note [0-9]{3}.*$1" note???.txt))

The above instead of a creating an array where each grepped line is an array element (desired
behaviour" , creates an array of each word in each of the lines.

I haven't got word split set as an option

$ setopt
extendedglob
interactive
login
monitor
nopromptcr
shinstdin
zle
-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips



Messages sorted by: Reverse Date, Date, Thread, Author