i have one file with follow entries, is very long so show few examples:
media-libs/gd fontconfig xpm
media-sound/audacious -gtk gtk3
net-analyzer/wireshark -gtk3 -ssl -qt4 qt5 lua geoip kerberos adns
net-dialup/ppp -gtk
I need to copy every line in a new file called like the name between / and first spaces.
So that i have a file called gd, audacious, wireshark and ppp with appropriate content behind name.
media-libs/gd fontconfig xpm
media-sound/audacious -gtk gtk3
net-analyzer/wireshark -gtk3 -ssl -qt4 qt5 lua geoip kerberos adns
net-dialup/ppp -gtk
Thank you for help & wish nice weekend
Silvio