Write entire file: Difference between revisions
PascalABC.NET
m (→{{header|Wren}}: Changed to Wren S/H) |
(PascalABC.NET) |
||
Line 786:
I. e., the program above could be invoked on a Bourne-again shell in this fashion:
<syntaxhighlight lang="bash">./overwriteFile >&- <&- 0>/tmp/foo # open file descriptor with index 0 for writing</syntaxhighlight>
=={{header|PascalABC.NET}}==
<syntaxhighlight lang="delphi">
##
WriteAllText('a.txt','string');
</syntaxhighlight>
=={{header|Perl}}==
|