Cover33

文本处理引擎AWK – Siphonink虹吸墨插件

AWK是功能最强大的数据处理引擎之一,是一种用于处理文本的编程语言工具。使用AWK命令能够处理复杂的数据表、复杂抽象的文本…..简单的来说就是通过使用AWK命令能够几乎无限扩展编辑器处理文本的能力,各种复杂的文本处理功能都能用AWK语言编写命令脚本实现。

而这个虹吸墨 AWK插件能够让你在 文本编辑器 虹吸墨中使用AWK命令处理文本。

AWK手册 AWK百科 AWK简明教程

例子1

改变报表文本列的顺序
百度知道这位用户的问题一样,有时我们改变文本列与列的顺序
比如:

A  B  C  D
1  2  3   4
1  2  3  4
1  2  3   4

D C A B
4  3  1  2
4  3  1  2
4  3  1  2

变成>>

用一句AWK命令就能完成:

{print $4,$3,$1,$2}

AWK会自动判断文本结构, print 后面的就是 输出的内容 $3是第1列,$2是第2列,这个例子里用 print $n 的命令就能自由的重新安排列的顺序。

更实际的例子可以看看百度知道这位用户的问题

例子2
有这样一个文本

西瓜 200
西瓜 12
西瓜 32
榴莲 1200
榴莲 1
榴莲 22
桃子 333
荔枝 222
哈密瓜 112
哈密瓜 3

我们想得到统计出每种水果数量的文本:

哈密瓜 115
荔枝 222
榴莲 1223
西瓜 244
桃子 333
AWK1
也是只要一行命令就可以了

{a[$1]+=$2}END{for(i in a)print i,a[i]}

安装
AWK for Siphonink虹吸墨插件 下载 百度网盘
下载后压缩包有详细的安装说明。(插件安装过程GIF
安装后就可以在扩展功能库的外部插件中 找到AWK文本处理功能了

注意事项
使用AWK文本处理 插件需要打开虹吸墨的FAS文件交互功能:
在虹吸墨的全局设置->首选项中 ,勾选”文件式交互”选项,并保存设置重启虹吸墨。

147条评论

  1. AryDany   •  

    Did Propecia Work For You Generico Del Cialis cialis Priligy Venta Discount Generic Fedex Shipping Macrobid Germany Internet Viagra Was Bringt Das

  2. OvanovaApege   •  

    cheap online phd


    help me in my reports

  3. www.office.com/setup   •  

    I was impressed, I have to say. In fact, I rarely encounter educational and funny blogs. You may strike a nail on your head. Your idea is wonderful. The problem is one in which adequate individuals are not speaking intellectually. I am pleased that I found this by seeing this and searching for one thing.

  4. Pingback: Google

  5. Pingback: sexy Latina dance

  6. Pingback: Hot Latina dance

  7. Pingback: Cheap wireless headphones

  8. Pingback: как прекрасен этот мир посмотри

  9. Pingback: camiseta de f¨²tbol tienda

  10. Pingback: sexy cam performers

  11. Pingback: Sexy girl cams

  12. Pingback: Sex live

  13. Pingback: Kabil movie download

  14. Pingback: Free adult sex

  15. Pingback: Free sexy cams

  16. Pingback: Funny Instagram

  17. Pingback: Free adult

  18. Pingback: Yeah yeah

  19. Pingback: latex normal distribution

  20. Pingback: hot girls live

  21. Pingback: beeg

  22. Pingback: sexy girls stream

  23. Pingback: Too sexy

  24. Pingback: sexy cams live

  25. Pingback: buy backlinks

  26. Pingback: смайл текст

  27. Pingback: Music videos

  28. Pingback: Hot models

  29. Pingback: rap hip hop

  30. Pingback: Funny hip hop

  31. Pingback: CircularDrive

  32. Pingback: Funny song

  33. Pingback: Hot rap song

  34. Pingback: Comedy Hip hop

  35. Pingback: space_miamii chat

  36. Pingback: juicy chat

  37. Pingback: hot mixtape

  38. Pingback: Asd hot webcam chat

  39. Pingback: Hot rap mixtape

  40. Pingback: большая русская энциклопедия

  41. Pingback: house renovators

  42. Pingback: girl chat

  43. Pingback: cam chat

  44. Pingback: Funny free chat

  45. Pingback: Free chat with girls

  46. Pingback: Mobile erotic chat

  47. Pingback: Click Here

  48. Pingback: технический глицерин

  49. Pingback: best wand massager

  50. Pingback: how to mount a dildo

  51. Pingback: real estate litigation support

  52. Pingback: big black cock and Anal

  53. Pingback: lobby visitor management

  54. Pingback: xxx free porn

  55. Pingback: Adult

  56. Pingback: Sexcams

  57. Pingback: buy instagram followers free

  58. Pingback: telecharger driver easycap usb 2.0 gratuit

  59. Pingback: psicologo avezzano

  60. Pingback: sexy Latina duo

  61. Pingback: sexy gaming Chat

  62. Pingback: sweet Sofia cam

  63. Pingback: sexy Melody webcam

  64. Pingback: amortization schedule with extra payments

  65. Pingback: ах как хочется вернуться в городок

  66. Pingback: Tory Burch

  67. Pingback: gucci bags

  68. Pingback: Hot webcam

  69. Pingback: Sexy chat

  70. Pingback: Comedy rap

  71. Pingback: funny hip hop

  72. Pingback: فني صحي في الكويت

  73. Pingback: hot hunk sexy

  74. Pingback: excel consultancy

  75. Pingback: www.awaporn.mobi

  76. Pingback: crystal jelly dildo

  77. Pingback: tentandtable 22 foot tall 65 foot long blue marble

  78. Pingback: rabbit vibrator

发表评论