Search Results

Search: Posts Made By: basher
11,105
Posted By basher
If your working on Unix/Linux you can use HERE...
If your working on Unix/Linux you can use HERE Documents in a shell script, like this:

#!/bin/bash

( sqlclient user@password << EOF

Select count(1),Client_id from TABLE_A group by Client_id;...
1,325
Posted By basher
Don't confuse . (source the script) with ./...
Don't confuse . (source the script) with ./ (Under the current directory)

. test.sh = source test.sh

Now the shell looks for the directories in the path ($PATH). If it finds test.sh in any of...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy