Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 323268

Docker is an application to create containers for applications.

1
vote
1answer
I have a bash script that needs the count of records/documents that exist for a given arango collection. This seemed easy enough, I used the following arangosh call: records=$(docker exec -it arango … redirected the docker exec call to cat -v and got the following output: ^[[1m#####^[[0m^M The #### is my record value and it is correct. How do I either properly print the value out of arangosh or out of …
modified Dec 11 '18 by Xtremefaith
0
votes
Still hoping for a better answer but I was able to get what I needed with the following: imported=`docker exec -it arango arangosh --javascript.execute scripts/getRecords.js $collection … --server.password '' | cat -v | sed 's/\(\^\[\[1m\)//g;s/\(\^\[\[0m^M\)//g'` This simply passed the verbose output from docker to a sed substitution. Considering that for this script I expect the characters to …
modified Dec 11 '18 by Xtremefaith