|
From: | Dan Jacobson |
Subject: | sed : * final newline |
Date: | Sat, 05 Jul 2003 14:38:40 +0800 |
User-agent: | Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
Each file is one line, with no newline at the end of line. $ ls|wc 259 259 6216 $ sed : *|wc 258 259 15947 $ awk 1 *|wc 259 259 15948 Sed appends a newline to all but the last file.
[Prev in Thread] | Current Thread | [Next in Thread] |