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

globbing and set a command



Hi,

for setting the cpu governor I write:

cpufreq-set -c 0 -g conservative

cpufreq-set -c 1 -g conservative

(I have dual core cpu)

But I want write a unique command like

cpufreq-set -c (0|1) -g conservative

I was thinking of doing a for loop, but before I wanted to know if
there was a  globbing-way.

Tnx



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