mbukowski commited on
Commit
c05dd89
·
verified ·
1 Parent(s): d7b497e

Upload one_liner.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. one_liner.sh +7 -0
one_liner.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # try one
4
+ #sed 's/ *||| */\t/' raw.txt > processed.tsv
5
+
6
+ # try two - there were a few entries with multiple ||| delimiters, so we skip them
7
+ grep -Ev '(\|\|\|).*?\|\|\|' raw.txt | sed 's/ *||| */\t/' > processed.tsv