Skip to Content.
Sympa Menu

freetds - Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stuart Henderson <stu AT spacehopper.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin
  • Date: Thu, 23 Aug 2012 01:16:24 +0000 (UTC)

On 2012-08-18, James K. Lowden <jklowden AT freetds.org> wrote:
> I had a script such as
>
> #! /bin/sh
> awk "\$2 == \"$1\" {print \$6}" ~/.netrc
>
> called "getpass". Now the command:
>
> datacopy -S$S/$U/$(getpass $S)/$D/$T ...
>
> does the job.

This still shows in the command line, though.






Archive powered by MHonArc 2.6.24.

Top of Page