August 28, 2013 Re: Strange behavior of read file | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | Justin Whear & H.S. Teoh Yep, that's what I assumed, too. But that's so C Style. Wouldn't it befit phobos to have sth. like normalizePath? Like: On Unix/linux rep ' ' with '\ ' " replace ~ with $HOME etc. so as to have normalizePath return a path equal to what the shell would do? Well, whatever, I hope the OP (Paul Jurczak) could solve the problem. A+ - R |
August 28, 2013 Re: Strange behavior of read file | ||||
---|---|---|---|---|
| ||||
Posted in reply to monarch_dodra | On Tuesday, 27 August 2013 at 17:19:08 UTC, monarch_dodra wrote:
> On Tuesday, 27 August 2013 at 17:14:23 UTC, Paul Jurczak wrote:
>> Correction to my initial post:
>
> I'll investigate later then.
monarch_dodra, H. S. Teoh, Ramon, Justin Whear, Jesse Phillips:
Sorry for the delay in responding - I had to take a nap and it helped to find the error I made. I noticed that the file path name was misspelled by one character in one of the test cases. Now everything works fine with both relative and absolute paths.
Thank you for your help and I'm sorry for this wild goose chase.
|
Copyright © 1999-2021 by the D Language Foundation