Re: [julia-users] Re: tail active log

2016-09-16 Thread adrian_lewis
Thanks for the replies, For some reason only one chunk of data is printed even though the log is still being written to fh = open(last_sim_log) try while true print(readline(fh)) end finally close(fh) end For readavailable(fh), I getting "no method matching

[julia-users] tail active log

2016-09-15 Thread adrian_lewis
I have an active log and I wondered how I could `tail -f` this without running the Unix command? Thanks Aidy

Re: [julia-users] ls()?

2016-09-14 Thread adrian_lewis
> There are POSIX standards for new programming language function names? No, but you've implemented functions with POSIX names > yes, ls() could be a better name In the REPL, I might julia> cd("projects") And want to julia> ls() to see what's there But, I probably wouldn't want to do that

[julia-users] walkdir

2016-09-13 Thread adrian_lewis
Both the functions pwd() and walkdir() are defined in the filesystem package, but: julia> VERSION v"0.4.6" julia> pwd() "/Users/aidy" julia> walkdir(".") ERROR: UndefVarError: walkdir not defined Aidy

[julia-users] tail => PollingFileWatcher

2016-09-08 Thread adrian_lewis
Hi, I am looking for something like a Unix tail on a log generated by another process. I know there isn't a tail function in Julia. Is there an example of using the PollingFileWatcher? Thanks Aidy