On 11/09/12 00:21, vicky b wrote:
> HI ,
>
> I have the file which has key value pair, for single key there are four
> entries i want align all the values hoirzontall
>
> file contains
>
> alert_pref_email Nh?n các c?nh báo thông qua th? ?i?n t?
> alert_pref_email Receive the Alerts through Em
hi, for more sophisticated text transformations
of whole files, as you seem to need frequently,
you should also have a look at "awk", in this case:
#!/usr/bin/awk -f
{ a[$1]=a[$1]gensub("\\w* ","",1); }
END { for(i in a) print i,a[i]; }
good luck.
###
On Fri, 9 Nov 2012, v
HI ,
I have the file which has key value pair, for single key there are four
entries i want align all the values hoirzontall
file contains
alert_pref_email Nh?n các c?nh báo thông qua th? ?i?n t?
alert_pref_email Receive the Alerts through Email
alert_pref_email Terima informasi penting melalu