| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Wildcard Characters As the table says the * will match zero or more characters. In other words if one has for example the following files in a directory: h hat hat1 hat2 hat11 hat12 hat13 hat21 hat22 hat23 hat31 hat32 hat33 head house The string h* would match every file within that directory. In particular, notice that h* matches the file name h since the * can stand for zero or any number of characters. Additionally consider ha*, which would match the files: hat hat1 hat2 hat11 hat12 hat13 hat21 hat22 hat23 hat31 hat32 hat33 and no others, since the other file names do not have a as a second character of their name. The ? Meta character matches any single character. Using the same list of files as above, the string hat? will match only the files named hat1 hat2 and no others. This is true because the string implies that the file names start with hat and have one and only one additional character. These two names are the only ones that meet this criterion.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||