小编use*_*475的帖子

awk:使用包含标题的部分修改csv

我有一个看起来像这样的文件:

Downtown
3/1/2013, 6A, 1 convertible to 2 bedroom apartment, tile bath, air conditioning, $3800
4/1/2013, 4C, One bedroom living room eat-in-kitchen, $3850
East Village
5/17/2013, 9M, STUDIO K'ETTE air conditioner TILE BATH, $2300
6/1/2013, 6H, Studio with tile bath and kitchenette with stone counters tops, $2600
SoHo
6/1/2013, 10B ,STUDIO KETTE air conditioner TILE BATH, $2400
Run Code Online (Sandbox Code Playgroud)

(等等.)

我希望它转换成这样的东西:

Downtown, 3/1/2013, 6A, 1 convertible to 2 bedroom apartment, tile bath, air conditioning, $3800
Downtown, 4/1/2013, 4C, One bedroom living room …
Run Code Online (Sandbox Code Playgroud)

unix awk sed tr

3
推荐指数
1
解决办法
237
查看次数

标签 统计

awk ×1

sed ×1

tr ×1

unix ×1