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

Re: can I access output of locate?



Edelwin Khaelos <edelwin@xxxxxxxxxx> wrote in news:55031519.9020906
@mailoo.org:
variables


# then to answer my own question
a=($(locate my.cnf))  # the outer () are important

echo ${a[1]}





-- 
zzapper
https://twitter.com/dailyzshtip

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com




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