From be19b5dfed0152e63eb8cfaac8865256be919592 Mon Sep 17 00:00:00 2001 From: zipperer <47086307+zipperer@users.noreply.github.com> Date: Sun, 15 Oct 2023 12:15:02 -0500 Subject: [PATCH] docs: proposed change. edit example: replace "-d ," commandline flag with "-d '|'" for example related to pipe-separated-values file I interpreted this filename (`myfile.delimited-file-with-pipes`) as a delimiter-separated-values file for which the delimiter is pipe ('|'). Given this section of the usage ``` -p, --pipe-delimited Same as -d '|'. Added for convenience and readability ``` I inferred that the line in the example should be ``` q -d '|' -H "select my_field from myfile.delimited-file-with-pipes" ``` rather than ``` q -d , -H "select my_field from myfile.delimited-file-with-pipes" ``` --- mkdocs/docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs/docs/index.md b/mkdocs/docs/index.md index f66fab68..3d5601ce 100644 --- a/mkdocs/docs/index.md +++ b/mkdocs/docs/index.md @@ -19,7 +19,7 @@ q allows the following: q "select c1,c5 from myfile.csv" # -d '|' sets the input delimiter, -H says there's a header - q -d , -H "select my_field from myfile.delimited-file-with-pipes" + q -d '|' -H "select my_field from myfile.delimited-file-with-pipes" # -C readwrite writes a cache for the csv file q -d , -H "select my_field from myfile.csv" -C readwrite