Search Results

Search: Posts Made By: darkfalz
3,488
Posted By darkfalz
Not a Sun box, just my MacBook Pro running 10.7 ...
Not a Sun box, just my MacBook Pro running 10.7

awk version 20070501
3,488
Posted By darkfalz
It gives me awk: can't open file {len=match...
It gives me

awk: can't open file {len=match ($0,"</")-686;print substr($0,686,len)}
source line number 1
3,488
Posted By darkfalz
Hm...tried this, but it didn't output anything.
Hm...tried this, but it didn't output anything.
3,488
Posted By darkfalz
print variable length text from the middle of a line?
I am trying to get text from a webpage, in terminal form. So far I am:

1. getting the html for the page printed using curl (curl -s webpage.com), which is then

2. piped to awk, printing line...
Showing results 1 to 4 of 4

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