rares_dumitrescu
asked on
bash sort
hello
i have a text file with web adresses
the text file is like this:
www.computergames.ro
www.linkweb.ro
www.shopmania.ro
www.gardianul.ro
www.onlinesport.ro
www.desprecopii.com
www.blogsport.ro
how can i take each web adress, remove the www. and make another file with the domains only ?
thanx
i have a text file with web adresses
the text file is like this:
www.computergames.ro
www.linkweb.ro
www.shopmania.ro
www.gardianul.ro
www.onlinesport.ro
www.desprecopii.com
www.blogsport.ro
how can i take each web adress, remove the www. and make another file with the domains only ?
thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
and the last thing
i would like to take all the domains (after the filtering) and do a whois on them, and the whois put into a file
i would like to take all the domains (after the filtering) and do a whois on them, and the whois put into a file
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanx! great help!!
ASKER
the newfile.txt is now:
neogen.ro
gsp.4you.ro
prosport.com
libertatea.ro
sport.beta.testing.info
evz.com
ejobs.ro
kappa.org
hopa.creta.ro
clubafaceri.ro
acasa.ro
hotnews.react.in
i would like to take each one, and put into newfile2.txt only the ones that are NAME.ro NAME.com NAME.org or NAME.net the rest (.info etc, or subdomains not)