[lug] Regex from shell
chip at pupman.com
Thu Nov 18 22:42:17 MST 2004
One thing you could try is
for i in 0 1 2 3 4 5 6 7 8 9; do
There are probably other ways that are more efficient though.
On Thu, 18 Nov 2004, Budyanto Himawan wrote:
> Is there a way to specify a shell command mixed with
> regular expression?
> for example I want to kill all processes with pids
> 1110 to
> I want to do something like "kill 111[0-9]".
> I tired a few different combo of the above and none
> seems to work. I know there must be something like
> that cause I used to know it but I just can't seem to
> Budyanto Himawan
> budyanto_himawan at yahoo.com
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
More information about the LUG