![]() |
Question for LINUX pros
I have a 1GB large file on my apache server and would like to extract only the URLs out of this file.
What's the best way to do it? |
grep http filename
? |
That would depend on the format of the file. What other data is in the file besides urls? Are the urls all properly formated or do they sometimes break to the next line?
|
cat filename | tr '[ "<>]' '\12' | grep -e 'http\:\/\/'
|
All times are GMT -7. The time now is 09:38 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123