例如。我有一個TEST.SQLgnu並聯管道sed刪除反引號
cat test.sql
INSERT INTO `t_zydx` VALUES 77.2148,
,我想更換`使用sed
它工作正常
sed s/\`//g test.sql
INSERT INTO t_zydx VALUES 77.2148,
但空
在使用平行管我
cat test.sql | parallel --pipe sed s/\`//g
它顯示
/bin/bash: -c: line 0: unexpected EOF while looking for matching ``'
/bin/bash: -c: line 1: syntax error: unexpected end of file
你想做什麼?除了語法錯誤,我沒有看到你想解決的問題 – hek2mgl
我試圖通過使用'parallel --pipe sed'移除'backtick'符號,但它不起作用 –
爲什麼要使用並行爲了那個原因? – hek2mgl