Please enable JavaScript to view this site.

CMDebug / TCC-RT Help v. 29

Purpose:Read standard input and write it to a file.


Format:SPONGE [/A] outputfilename






Unlike output redirection, SPONGE reads all its input before opening the output file. This allows constructing pipes that read from and write to the same file. SPONGE reads standard input into a memory buffer, so piping extremely large amounts of data (i.e., multiple gigabyte) is not recommended.




/AAppend output to outputfilename. The default is to overwrite outputfilename.