
![]() |
skyts
I want to use sed/grep/cat in order to print the content of a .txt file between "http://" to "/" , But I encounter a problem when trying to use the slash on
linux.Usually this is easy to do, But what do you do when you need to print everything between to slashes ? thedarkness
cat filename.txt|cut -f3 -d"/"
Cheers, td skyts
Thanks!!! it works...
I am still new to all linuxcommands since I have been using windows most of the time. But I am catching up now![]() Thanks again... |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads