Data ONTAP enables you to read data from standard input and write it into the specified file.
toaster> wrfile /etc/test line#1
read: error reading standard input: Interrupted system call toaster> wrfile -a /etc/test "line#2" toaster>
See the na_wrfile(1) man page for additional examples.