Search Results

Search: Posts Made By: Kumar786
589
Posted By Kumar786
Hi , I achieved the result as my own. Is...
Hi ,

I achieved the result as my own. Is there any better way to do this.

cat file.html | grep "<a href=" | head -2 |awk -F ">" '{print $2}'| awk -F "/" '{print $1}'


Thx
589
Posted By Kumar786
Thanks Rudic, I tried with below command...
Thanks Rudic,

I tried with below command but not accurate value am getting.

cat file.html |grep "<a href=" | head -2 |awk -F ">" '{print $2}

output : 1456/</a




Please use CODE...
589
Posted By Kumar786
To get the id value dynamically
Hi,

I have .html file and need to get the id value based on the latest modified date from the html file.

output : 1456.

Thanks in advance

Here is the .html file

<html>...
Showing results 1 to 3 of 3

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