[root@ob2 mytmp]# cat aa2.txt|sed 's#[a-z]#ug'
ETH0 LINK ENCAP:ETHERNET HWADDR 00:0C:29:2B:B9:55
INET ADDR:192.168.79.130 BCAST:192.168.79.255 MASK:255.255.255.0
INET6 ADDR: FE80::20C:29FF:FE2B:B955/64 SCOPE:LINK
[root@ob2 mytmp]# cat aa2.txt|sed 's#.#ug'
ETH0 LINK ENCAP:ETHERNET HWADDR 00:0C:29:2B:B9:55
INET ADDR:192.168.79.130 BCAST:192.168.79.255 MASK:255.255.255.0
[root@ob2 mytmp]# cat aa2.txt|sed 's#.#lg'
eth0 link encap:ethernet hwaddr 00:0c:29:2b:b9:55
inet addr:192.168.79.130 bcast:192.168.79.255 mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe2b:b955/64 scope:link