![]() |
fast unix question
I have this string:
Code:
a = "/home/blackgeer/1022/index.html" |
Quote:
|
if(a=m~{(.*?)index\.html})
print $1; Providing you using Perl. :thumbsup |
Quote:
this is done in an .SH file I know how to do this in perl, i'm no sysadmin by the way |
try an editor
|
a = "/home/blackgeer/1022/index.html"
echo $a|sed 's/index\.html//' |
format c:
|
| All times are GMT -7. The time now is 01:24 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123