Re: [Dorset] Discovering unfamiliar utilities

2019-07-06 Thread Patrick Wigmore
On Sat, 06 Jul 2019 09:33:15 +0100, Ralph Corderoy wrote: > Well, I was wondering how it could be done and like solving the > puzzle; keeps my hand in. A good habit, for sure. > The university used to have staff and students interested in Unix > and ran Solaris or a descendant so there could be

Re: [Dorset] Discovering unfamiliar utilities

2019-07-06 Thread Ralph Corderoy
Hi Patrick, > > For a one-off quick task, automating it would be more tedious. > > But you did it anyway, even though you didn't need the results! Well, I was wondering how it could be done and like solving the puzzle; keeps my hand in. What I did was O(n²) though, where n is the number of

Re: [Dorset] Discovering unfamiliar utilities

2019-07-05 Thread Patrick Wigmore
On Fri, 05 Jul 2019 12:14:03 +0100, Patrick Wigmore wrote: > the short description of size(1) does not make any mention of object > files: > > $ man -f size > size (1) - list section sizes and total size. On Fri, 05 Jul 2019 13:33:21 +0100, Ralph Corderoy wrote: > This is a

Re: [Dorset] Discovering unfamiliar utilities

2019-07-05 Thread Patrick Wigmore
On Fri, 05 Jul 2019 13:33:21 +0100, Ralph Corderoy wrote: > For a one-off quick task, automating it would be more tedious. But you did it anyway, even though you didn't need the results! (Don't change, your code snippets are great.) > I learnt by reading books. Pre-Internet. The authors back

Re: [Dorset] Discovering unfamiliar utilities

2019-07-05 Thread John Carlyle-Clarke
You reminded me that a few days ago I listed the files in a core package on a server (looking for a missing utility) and saw a few things in the list that I didn't immediately recognise. I thought at the time, "That would be a good way to learn about utilities that I don't know exist". The

Re: [Dorset] Discovering unfamiliar utilities

2019-07-05 Thread Bob Dunlop
On Fri, Jul 05 at 12:14, Patrick Wigmore wrote: > On Thu, 04 Jul 2019 10:37:35 +0100, Bob Dunlop wrote: > > nvi > >textdata bss dec hex filename > > 270612048 256 2936572b5 /usr/bin/nvi > > 442019 18688 144 460851 70833 /usr/lib64/libvi.so.0 > >

Re: [Dorset] Discovering unfamiliar utilities

2019-07-05 Thread Ralph Corderoy
Hi Patrick, > but what method did you use to produce the list of files, excluding > common operating system libraries? I expect Bob used ldd(1) and then removed common ones by hand, knowing what they were likely to be. For a one-off quick task, automating it would be more tedious. set