On Fri, Nov 9, 2012 at 4:15 PM, umu <ulrich.mueller@hrz.tu-chemnitz.de> wrote:
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, 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 Email
alert_pref_email Terima informasi penting melalui Email
alert_pref_email ??????????????????????????
alert_pref_email Nh?n các c?nh báo thông qua th? ?i?n t?
output i would like to have like this
alert_pref_email Nh?n các c?nh báo thông qua th? ?i?n t? Receive the Alerts
through Email Terima informasi penting Nh?n các c?nh báo thông qua th? ?i?n
t?
can anybody help
--
Thanks & Regards
Vickyb
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Thanks & Regards
Vickyb
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment