I am trying to remove a pipe at the end of the header(first) row in a .csv file in GCS using GSUTIL and sed. The command below produces the output sed: can't read ... No such file or directory
sed 's/58_rxsig"|"/58_rxsig1/' gs://../file.csv
58_rxsig is the last field name in the header row so my thought was to find the literal string '58_rxsig|' and just replace with the literal string '58_rxsig' but I've apparently been unable to get the syntax correct.
Any ideas on how to accomplish this?
Sample Input:
12_word|
Desired Output:
12_word
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…