Re: [dev] network usage graphs
On 12/25/11, Anthony J. Bentley <anthonyjbentley_AT_gmail.com> wrote:
On 12/24/11, Szabolcs Nagy <nsz_AT_port70.net> wrote:
>> * hiro <23hiro_AT_googlemail.com> [2011-12-24 02:00:47 +0100]:
>>>
>> sed -i 1d original.dat
>
> That’s a GNUism.
>
What about $(rp "sed 1d" original.dat) ;)
To address the original (-er) question, I think moreutils sponge(1) is
the answer, filename duplication notwithstanding.
% sed 1d <original.dat | sponge original.dat
Received on Sun Dec 25 2011 - 02:01:46 CET
This archive was generated by hypermail 2.3.0
: Sun Dec 25 2011 - 02:12:03 CET