[Thread Prev][Thread Next][Index]

reading from standard input



Hi All.

I've got a problem with Ferret v 5.22 on Linux (pre-compiled binaries, I'm 
running RedHat 7.2)

If I invoke ferret with a journal file passed in via stdin, e.g.
    ferret < test.jnl
everything works fine on short scripts, but if there are more than 512 
characters (including newlines) then ferret seems to skip over the first 
512 bytes.

So far I'm working around this by passing in short files, although I 
suppose I could pass in the simple instruction "go test.jnl" and that would 
work too.

Is there a more official way to do what I'm trying to do?

Thanks,

Andrew



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement