? Used for pattern matching where in it matches exactly one character after
the pattern that you have provided.

Similarly * will match zero or more characters.

-----Original Message-----
From: LKTee [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 9:13 AM
To: '[EMAIL PROTECTED]'
Subject: String File


Dear All,

 

            I try command below in Unix

            

            $ ls -l file? 

            -rw-r-r--            1          root       125       May 27
11:11    file1

            -rwxr-x-           1          root       52125   May 27 19:11
file2

            drwxr-xr-x          1          root       442       May 27 20:11
file3

 

 

May I know that the purpose of the "?"  in the string file?

 

 

 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to