Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >System Management


    

Blue Forest http://www.lslnet.com at 3:18 p.m. on August 18, 2006


How to use expression matching shell?

$regularexpression= "\.html$"

The formula used to filter out all the file name. Html end of the document

Document $filename1 $filename2 variables will exist. . . . . . . . . . . . . . . . . . . . . . . . . . . $filenamen China

How to match up all the file name. Html end of the file name?

Can be in perl

Use if /$filename1=~\.html$/
    ..............
Else
    ..............
I do not know how to use the shell

Please advise experts

Thank you

How to use expression matching shell?

Can die -->



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com