Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Craig A. Berry" <craigberry AT mac.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] [PATCH] Add -i and -o switches for freebcp
  • Date: Thu, 20 May 2010 14:21:36 -0500

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

Attachment: 002_freebcpio.patch
Description: Binary data






Archive powered by MHonArc 2.6.24.

Top of Page