grazinggoat
Programmer
I have 30 various channele split into groups
serv1g1s1
dbserv100g5s1
serv1g4s2
dbserv20g15s6
I want to be able to break the list down by the groups (ie g1s1, g4s2, g5s1, g15s6 )
how can i sort when there can be any number of characters before the g, inbetween the s?
I only want the list to chop down to show just the groups
g1s1
g4s2
g15s6
I have no idea on how to do this? I looked up sort an am not sure what could be done using sed or awk Any thoughts please?
serv1g1s1
dbserv100g5s1
serv1g4s2
dbserv20g15s6
I want to be able to break the list down by the groups (ie g1s1, g4s2, g5s1, g15s6 )
how can i sort when there can be any number of characters before the g, inbetween the s?
I only want the list to chop down to show just the groups
g1s1
g4s2
g15s6
I have no idea on how to do this? I looked up sort an am not sure what could be done using sed or awk Any thoughts please?