Search Results

Search: Posts Made By: chakrapani
14,134
Posted By chakrapani
Xpath can be used like // till pattern ...
Xpath can be used like // till pattern ...
14,134
Posted By chakrapani
Option for sel (select) is using xpath. ...
Option for sel (select) is using xpath.

What is Xpath ? May be you might get some basics from URL:
XPath Tutorial (http://www.w3schools.com/xsl/xpath_intro.asp)


bash-2.03$ xml
XMLStarlet...
2,750
Posted By chakrapani
B Component Startup and Shutdown Scripts...
B Component Startup and Shutdown Scripts (http://docs.oracle.com/cd/B13866_04/wp.904/b15612/appendxb.htm)

:wall:
20,424
Posted By chakrapani
try using xmllint and xpath ... you can extract...
try using xmllint and xpath ... you can extract exactly what you want..
example: the file is called t.xml

echo 'cat /html/set/@label' | xmllint --shell t.xml | grep '='
will get you label
...
3,605
Posted By chakrapani
I hope you are not asking for Regex just the 301...
I hope you are not asking for Regex just the 301 htaccess redirect

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
10,371
Posted By chakrapani
there was a command called screendump similar to...
there was a command called screendump similar to setterm -dump which get details from ttys

Something similar to:
Linux.com :: Everything Linux and Open Source...
2,408
Posted By chakrapani
directory=`dirname /path1/path2/path3/file.txt` ...
directory=`dirname /path1/path2/path3/file.txt`
Change this line .. no spaces... Scripting does not like spaces
Likes to be close .. while with variable. :)
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy