You are running afoul of shell escaping rules
<http://www.grymoire.com/unix/Quote.html>. This should work:

julia -e 'using DataFrames; df = readtable("somefile.txt", header=false,
separator='\'' '\''); println(df[1,1])'

On Wed, Nov 5, 2014 at 4:28 PM, <adrian.viehwe...@googlemail.com> wrote:

> Dear Julia community,
>
> I am trying to open a .txt file to process it with Julia like so:
>
> julia -e 'using DataFrames; df = readtable("somefile.txt", header=false,
> separator=' '); println(df[1,1])'
>
> I get:
>
> ERROR: syntax: incomplete: premature end of input
>
> probably because in trying to specify the separator I use '
>
> Is there a way around this?
>
> Thanks a lot!
> Adrian
>

Reply via email to