我有以下内容的文本或 tsv 文件:
文件:sample_txt.txt:
1 0x0001 ram_var2 int
test.c func2 63 Y "The expression ' ram_var2=e;
' at line no 63 has been modified in file test.c. Hence all read checks are applied
" test.c func2 68 Y
"The expression ' h=ram_var2;' at line no 68 has been modified in file test.c. Hence all read checks are applied
现在我想删除单词或完整句子之间的所有不必要的标签。例如,我希望句子应如下所示:
"The expression 'ram_var2=e; ' at line no 63 has been modified in file test.c. Hence all read checks are applied"
如何使用 Linux bash 脚本来实现这一点。实际上,脚本应该能够处理脚本中所有句子之间的所有此类选项卡,并且还应该注意其他选项卡不应该受到影响。如何实现这一点。请指导我。我对 bash 脚本非常陌生。任何帮助都将不胜感激。