Re: Pgrep -fx not matching anything

2017-06-26 Thread Hadrien Lacour
On Mon, Jun 26, 2017 at 02:43:07PM +0200, Denys Vlasenko wrote: > Fixed in git just now, please try. > > On Tue, Jun 20, 2017 at 4:34 PM, Hadrien Lacour > <hadrien.lac...@openmailbox.org> wrote: > > Hello, > > I'm having a bit of trouble using pgrep -fx; here's

Pgrep -fx not matching anything

2017-06-20 Thread Hadrien Lacour
Hello, I'm having a bit of trouble using pgrep -fx; here's a simple example: $ uname -a Linux gentoo 4.9.33-gentoo #1 SMP Sun Jun 18 01:43:49 CEST 2017 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux $ busybox | head -n1 BusyBox v1.25.1 (2016-12-13 23:14:59 CET) multi-call

free -b alignment issues

2018-11-14 Thread Hadrien Lacour
Hello, after switching to busybox awk because mawk had a bug, I discovered a bug in free: > free -b totalusedfree shared buff/cache available Mem:16812838912 1123995648 13094776832 157700096 2594066432 15411052544 Swap: 0 0

Re: Sime makelike wrapper scripts support

2020-01-13 Thread Hadrien Lacour
Just do it in sh. Something like this: hadrien@gentoo-zen2700x> cat test.in hello: echo hello world: echo world compound: echo foo echo bar hadrien@gentoo-zen2700x> awk '/^hello:/ {flag = 1; next}; flag && /^$/ {exit}; flag {sub("^[[:blank:]]*", ""); print}'

Re: git smart http for busybox repo

2020-04-13 Thread Hadrien Lacour
On Mon, Apr 13, 2020 at 05:55:40PM +, Michael Conrad wrote: > On 4/13/2020 11:31 AM, Eli Schwartz wrote: > > by attempting to demonize the request as an attack from people demanding > > a workflow change from mailing lists and git to "mandatory github > > webflow omg so smart". > > I think he

Re: read stdin into variable?

2020-11-08 Thread Hadrien Lacour
On Sun, Nov 08, 2020 at 09:12:13PM +0100, chiasa.men wrote: > Ahoy, > > how to get the following idiom ash-like translated? (I just called busybox on > my raspbian buster) > > > echo '12 34' | read a b ; echo "'${a}''${b}'" > > > Doesnt the manual state that "The read utility shall read a

Re: [PATCH] ash: use memmove instead of mempcpy in subevalvar

2022-02-26 Thread Hadrien Lacour
On Sat, Feb 26, 2022 at 06:11:30PM +, Ariadne Conill wrote: > While investigating a sporadic crash issue relating to variable substitution > in > Alpine Linux, we managed to get a reliable crash when building BusyBox with > ASan, > due to the source and destination overlapping for mempcpy,