Re: [PATCH v2] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Alejandro Colomar (man-pages)
On 1/23/21 5:19 PM, Anders Damsgaard wrote: > (lots of Cc's removed) > > * Alejandro Colomar [2021-01-22 00:12:58 +0100]: > >> This is useful for using tee to just write to a file, >> at the end of a pipeline, >> without having to redirect to /dev/null. >> >> Example: >> echo 'foo' | sudo te

Re: route sourceaddr: simplify code & get out of ART

2021-01-23 Thread Vitaliy Makkoveev
Hello. According the code `ifaddr’ struct has `ifa_refcnt’ field. Also it seems `ifa’ could exist while corresponding `ifp’ was destroyed. Is this true for `rt’ case? Should `ifa_refcnt' be bumped while you return `ifa’? > On 9 Jan 2021, at 20:50, Denis Fondras wrote: > > This diff place the us

Re: [PATCH v2] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Anders Damsgaard
(lots of Cc's removed) * Alejandro Colomar [2021-01-22 00:12:58 +0100]: This is useful for using tee to just write to a file, at the end of a pipeline, without having to redirect to /dev/null. Example: echo 'foo' | sudo tee -q /etc/foo; is equivalent to the old (and ugly) echo

Re: [PATCH] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Otto Moerbeek
On Sat, Jan 23, 2021 at 03:28:01PM +, Stuart Henderson wrote: > [cc's trimmed] > > On 2021/01/23 15:53, Alejandro Colomar wrote: > > This is useful for using tee to just write to a file, > > at the end of a pipeline, > > without having to redirect to /dev/null > > > > Example: > > > > echo

Re: [PATCH] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Stuart Henderson
[cc's trimmed] On 2021/01/23 15:53, Alejandro Colomar wrote: > This is useful for using tee to just write to a file, > at the end of a pipeline, > without having to redirect to /dev/null > > Example: > > echo 'foo' | sudo tee -q /etc/foo; > > is equivalent to the old (and ugly) > > echo 'foo'

[PATCH] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Alejandro Colomar
This is useful for using tee to just write to a file, at the end of a pipeline, without having to redirect to /dev/null Example: echo 'foo' | sudo tee -q /etc/foo; is equivalent to the old (and ugly) echo 'foo' | sudo tee /etc/foo >/dev/null; --- v2: Add --silent synonym to --quiet, per GNU gu

Re: route sourceaddr: simplify code & get out of ART

2021-01-23 Thread Denis Fondras
Le Sat, Jan 09, 2021 at 06:50:50PM +0100, Denis Fondras a écrit : > This diff place the user-set source address outside of struct art_root and > make > the code more readable (to me). > > Based on a concept by mpi@ > ping. > Index: net/art.h > ==

Re: df(1): formatting adjustments and -T support

2021-01-23 Thread Jonathan Gray
On Fri, Jan 22, 2021 at 11:11:27PM -0600, Katherine Rohl wrote: > I noticed that large disk volumes cause problems with the formatting of > numerical columns in df(1), particularly when using -i. Here's a patch > that pads out their width a bit and raises the maximum width of > numerical columns be