Re: Find all files with at least one execute bit set

2025-08-15 Thread Alistair Crooks
On Thu, 14 Aug 2025 at 04:13, Paul Ripke wrote: > On Thu, Aug 14, 2025 at 12:15:25PM +0200, Rocky Hotas wrote: > > Hello! > > I'm trying to use find(1) in a POSIX way to list all the files (not > > directories) with at least one execute bit set. In other words, all > > the following modes should

Re: Find all files with at least one execute bit set

2025-08-15 Thread RVP
On Fri, 15 Aug 2025, Alistair Crooks wrote: Just a thought: find /dir/ -type f -ls | awk '$3 ~ /x/ { print $NF }' Fine thought. +1. -RVP

Re: daily `makemandb -Q' drops core

2025-08-15 Thread RVP
On Fri, 15 Aug 2025, Van Ly wrote: [1] Bad system call (core dumped) /usr/sbin/etcupdate -a -l ${sflags} New binaries running on old kernel. The way to do upgrades--esp. jumping major versions--is: - install new kernel - reboot into it - install userland - merge /etc If you've already

MP3 to DVD

2025-08-15 Thread Todd Gruhn
Has anyone used a DVD as a mega-CD? How does it work?

Re: Find all files with at least one execute bit set

2025-08-15 Thread Alistair Crooks
On Fri, 15 Aug 2025 at 04:57, RVP wrote: > On Fri, 15 Aug 2025, Štěpán Němec wrote: > > >> If not sticking to pure find(1): > >> > >> Compact, but slow, and filenames cannot contain (')--single quotes. > >> > >> $ find /dir/ -type f -exec sh -c "test -x '{}' && echo '{}'" \; > >> > >> Slightly fa

Re: daily `makemandb -Q' drops core

2025-08-15 Thread Van Ly
I took the more drastic step and attempted to upgrade to 11 beta. But, failed at the following snippet. The installation I had was built from source in a pkgsrc environment that had the previous jpeg library. Is there a way to make this come up as 11 beta after reboot? # sysupgrade etcup

Re: daily `makemandb -Q' drops core

2025-08-15 Thread RVP
On Fri, 15 Aug 2025, Van Ly wrote: The daily `makemandb -Q' drops core and gdb reads as follows. Could that #2 line item be related to pkgsrc? as I've had to reset pkgsrc db and re‑install in response to `pkgin ug' dropping core. That's very likely a function called by parse_escape[1] which

Re: Find all files with at least one execute bit set

2025-08-15 Thread RVP
On Fri, 15 Aug 2025, Štěpán Němec wrote: If not sticking to pure find(1): Compact, but slow, and filenames cannot contain (')--single quotes. $ find /dir/ -type f -exec sh -c "test -x '{}' && echo '{}'" \; Slightly faster, and should handle weird filenames: $ find /dir/ -type f -exec sh -c '

Re: Find all files with at least one execute bit set

2025-08-15 Thread Štěpán Němec
On Thu, 14 Aug 2025 13:40:39 + (UTC) RVP wrote: > On Thu, 14 Aug 2025, Rocky Hotas wrote: > >> I'm trying to use find(1) in a POSIX way to list all the files (not >> directories) with at least one execute bit set. >> [...] >> find /target_directory/ -type f -perm -001 -or -type f -perm -010 -o

daily `makemandb -Q' drops core

2025-08-15 Thread Van Ly
Hello, The daily `makemandb -Q' drops core and gdb reads as follows. Could that #2 line item be related to pkgsrc? as I've had to reset pkgsrc db and re‑install in response to `pkgin ug' dropping core. Core was generated by `makemandb'. Program terminated with signal SIGABRT, Aborted.