--- Lonni J Friedman <netllama(at)gmail(dot)com> wrote:
> > (e.g. ...-c"insert into table (info) values('`sed "s/'/''/g"
> > file.txt`')" )
> >
if single quotes were your problem, then maybe you could use Postgresql's dollar sign quoting.
you could replace the ' with $myquote$.