case command and regex
Chris F.A. Johnson
chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org
Sun Mar 17 00:20:36 UTC 2013
On Sat, 16 Mar 2013, Daniel Wayne Armstrong wrote:
> I am trying to write a usable regex for the case command in a shell
> script. For example:
The case statement does not use regex; it uses globbing, as in
filename expanson.
--
Chris F.A. Johnson, <http://cfajohnson.com/>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list