On 31 August 2012 19:25, Igor Stasenko <siguctua@gmail.com> wrote:
On 31 August 2012 20:03, Sean P. DeNigris <sean@clipperadams.com> wrote:
Frank Shearar-3 wrote
'asdasd' asFileReference writeStreamDo: [:s | s nextPutAll: 'baz' ]
First rule of filesystem... write something beautiful and it will probably work... 'path' asFileReference ensureFile ... pick a stream...
well, i was unsure if the intent was to create a file if it not exists. And reading from 0-sized file, you just created, don't looks like a good idea either.
touch foo.txt; tail -f foo.txt Something else then writes to the file. But as I mention in another mail, it looks like Dale's fixed the issue already. frank
-- View this message in context: http://forum.world.st/Pharo-2-0-Travis-tp4645663p4645783.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- Best regards, Igor Stasenko.