Split split command to sub commands.

This commit is contained in:
Andrés N. Robalino
2020-05-24 01:41:30 -05:00
parent 74c2daf665
commit edbecda14d
22 changed files with 154 additions and 57 deletions

View File

@@ -39,7 +39,7 @@ fn table_to_tsv_text() {
r#"
open tsv_text_sample.txt
| lines
| split-column "\t" a b c d origin
| split column "\t" a b c d origin
| last 1
| to tsv
| lines
@@ -69,7 +69,7 @@ fn table_to_tsv_text_skipping_headers_after_conversion() {
r#"
open tsv_text_sample.txt
| lines
| split-column "\t" a b c d origin
| split column "\t" a b c d origin
| last 1
| to tsv --headerless
| echo $it