剑道第一仙

导航

2023年9月28日 #

[Linux] shell文本处理记录 - 查找、增删特定行及附近行

摘要: 转:https://blog.csdn.net/wy_hhxx/article/details/127416595 查找username所在行并删除此行,输出到新文件sed '/username/,+d' 04filename.log > 04filename_new.log 目录 1.grep查找 阅读全文

posted @ 2023-09-28 17:43 剑道第一仙 阅读(543) 评论(0) 推荐(0) 编辑

clickhouse 踩过的坑

摘要: 【1】clickhouse left join 时 where条件判空无效 DROP TABLE if exists tablename1; create table tablename1 engine = MergeTree order by column1 as select t.* from 阅读全文

posted @ 2023-09-28 09:33 剑道第一仙 阅读(166) 评论(0) 推荐(0) 编辑