From 15f72130254b3714f73fb136f80d184f4b857fee Mon Sep 17 00:00:00 2001 From: Alex Berry Date: Tue, 11 Feb 2020 23:02:53 +0000 Subject: [PATCH] Append, not amend. intact is not hyphenated. Newline for formatting. --- sheets/tee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sheets/tee b/sheets/tee index af82f02..44585da 100644 --- a/sheets/tee +++ b/sheets/tee @@ -1,6 +1,8 @@ # Display `ls` output to the user, but also write it to the given file. ls | tee outfile.txt -# As above, but amend the data; previous file's data remains in-tact. + +# As above, but append the data; previous file's data remains intact while +# new data is added at the end of the file. ls | tee -a outfile.txt # Pipe the standard output of a given command into `tee`, which then displays