Reputation
643
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 9 18
Impact
~77k people reached

  • 0 posts edited
  • 0 helpful flags
  • 11 votes cast
Sep
10
comment Command substitution: file or command not found
I understand the first part of your reply, but not the one about explaing ${QUERY}, because when one simpley does echo ${QUERY}, therefore without any quotes, it is also expanded. I guess the shell is packaging the parameters into some kind of list and for the query to be one parameter, I need the quotes around it? But then, why do I need double quotes? Why not just single quotes? Thanks :-)
Sep
9
comment Command substitution: file or command not found
Thanks, that works, but I don't really understand way, because echo "${QUERY}" gives the query without the ' and ', so why does it work in the MYROWS line?
Sep
9
asked Command substitution: file or command not found
Sep
9
asked Make bluetooth device invisible / disable incoming pairing
Sep
9
accepted Parsing SQLite output
Sep
9
comment Parsing SQLite output
the quote function is exactly what i was looking for, i had found the list option, but didn't know there is an sql statement for quoting. thank you very much!
Sep
9
asked Parsing SQLite output
Sep
9
asked Import single rows from SQLite to MySQL?
Sep
7
asked Read only new parts of a file?
Sep
7
comment Comment all lines in a text file?
ah, thanks! [some chars...]
Sep
7
comment Comment all lines in a text file?
thanks, a nice way for a script, for now I prefer the vim solution as I need to edit the file anyway and need an editor for that :-)
Sep
7
accepted Comment all lines in a text file?
Sep
7
comment Comment all lines in a text file?
Thank you, that works great, but I don't understand (and according to my testing also don't need) the "gg" at the beginning?
Sep
7
asked Comment all lines in a text file?
Sep
7
asked Find packages not maintained in main repo?
Sep
2
comment Return value of commands when using stdin?
Thanks, accepted as correct answer ;-)
Sep
2
accepted Return value of commands when using stdin?
Sep
2
comment Return value of commands when using stdin?
Thank you, that seems to work! Still wondering, if there is some kidn of "direct way" like in my example above?
Sep
2
asked Return value of commands when using stdin?
Sep
1
comment Get the chmod numerical value for a file
thanks, selected as answer because it was the first one and also seems to be the simplest one :-) @seg_fault: stat -x YOUR_FILE gives me more than just the mode value.