Re: Raku IO IceDrive bug
[email protected] (ToddAndMargo via perl6-users)
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
>> On Oct 22, 2023, at 06:02, ToddAndMargo via perl6-users >> <[email protected]> wrote: >> >> spurt "$TestFile", "Old File Found\n"; >> spurt "$TestFile", "New File Opened\n"; On 11/5/23 12:08, William Michels via perl6-users wrote: > Won't adding a `\n` newline to the `spurt()` call eventually cause > problems? > > What happens if you omit the `\n` below? > > Best, Bill. > > Hi Bill, \n just adds a line feed to the file. Without it, when I cat the file in my shell, the prompt for the next command comes up at the end of the file, rather than on the next line. -T