[freetds] [PATCH] Add -i and -o switches for freebcp

Craig A. Berry craigberry at mac.com
Thu May 20 15:21:36 EDT 2010

The attached patch adds switches to freebcp for input and output  
redirection just like the Microsoft and Sybase clients have.  The  
input is not particularly useful at the moment since we haven't  
implemented prompting for any kind of input, but it seemed like it  
ought to go in while I was in the vicinity.

The -o option is especially convenient on a system like mine where the  
shell does not do redirection.

Two files are affected:

% lsdiff -s --strip=1 002_freebcpio.patch
! src/apps/freebcp.c
! src/apps/freebcp.h

Craig A. Berry
mailto:craigberry at mac.com

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 002_freebcpio.patch
Type: application/octet-stream
Size: 3016 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100520/7216bb16/attachment.obj 
-------------- next part --------------

More information about the FreeTDS mailing list