Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
globbing and set a command
- X-seq: zsh-users 14780
- From: ugaciaka <ugaciaka@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: globbing and set a command
- Date: Wed, 3 Feb 2010 08:04:52 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=T8i63h5U+/Lt92cL2vPauT53X9I4XqVNbaLmHycIzlc=; b=V8k9j1PJShPOYccBATdK5kcGXbmrdVgo/kDT87mqwagi6UBDp3CvB31fW0UdqIVQ4b t2h3Z7VnK5NZeNtriiiKsExZEN5zUjCRL42cgZlg8E88kIRwr/Bgl9/jW8mlPSYJVIEd EVw1ocRq0ACTd0YWnWkP/yvcSJDAkcqn0q5fA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=rdtbP6jVsOEOaFuBmdCIU7OGwIWjYaSix8uVpbyvwrVndxoMs0oObhOlb/J+0P818I 6E52nvDPxvtzP8ymgdaqjBBV4Ets2D+Ac0AdIn1PeTShLBIh9Hp3mi7ofGhRcG8BxfEU f3d6JmC0cu95of1xnsycAXmc9pZEAwkje1H9Y=
- In-reply-to: <e7db6e961002022303m513f6fb8rad7b73c2b74d0462@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <e7db6e961002022303m513f6fb8rad7b73c2b74d0462@xxxxxxxxxxxxxx>
- Sender: ivan.zanolla@xxxxxxxxx
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