How to write each record of the result of a sql query to a file, separated by a space in bash? How to write each record of the result of a sql query to a file on a separate line in bash?
- 2never worked with postgres but I am sure that awk, sed + output redirection + xargs will help you - jmu
|