[freetds] tsql script file patch
Brian Bruns
brian.bruns at gmail.com
Tue Feb 15 11:14:09 EST 2005
On second thought, I'll throw my vote to -i...we tend to track
isql/sqsh options and it's a good point about header/footer.
Brian
On Tue, 15 Feb 2005 09:18:31 -0500, James K. Lowden
<jklowden at schemamania.org> wrote:
> Brian Bruns <brian.bruns at gmail.com> wrote:
> > Any particular reason for capital F? lowercase -f in standard for
> > input file on many (most?) unix programs (sed, awk, tar, etc...), I'd
> > like to follow the convention.
>
> Carlo, thanks for the patch. Would you be willing to redo it slightly?
> (Nothing like punishing a good deed, I know.)
>
> This already works:
>
> tsql {options} < script.sql
>
> You propose:
>
> tsql {options} -F script.sql
>
> Brian:
>
> tsql {options} -f script.sql
>
> I:
> tsql {options} script.sql
>
> Cf. more(1), sh(1), et. al. ;-)
>
> sed & Co. accept -f as a command file, and filenames as data files. tsql
> doesn't act on a data file; I would say it's more similar to /bin/sh.
>
> I'll tell you what. If you'll do that for tsql, I'll change bsqldb to be
> consistent. (bsqldb currently uses -i, like isql.)
>
> Regards,
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
More information about the FreeTDS
mailing list