Re: Need help with awk one-liner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> If 'ajpv12://' and ':8008/root' are always going to be the same:
>
> awk '/:8008\/root/ {printf $3 "\t"}' $x | sed 's/ajpv12:\/\///g' | sed 's/:8008\/root//g'
>
> If these change then your going to need either a more complex awk,
> or more complex sed expression.
>
> -Ross

Marvelous.  Thanks for taking the time to help me Ross.  This is going
to be extremely helpful.

Sean
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux