* Re: [gentoo-user] Change History of linux commands
2022-10-07 15:47 ` tastytea
@ 2022-10-07 15:55 ` n952162
2022-10-07 15:57 ` Michael Orlitzky
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: n952162 @ 2022-10-07 15:55 UTC (permalink / raw
To: gentoo-user
Am 07.10.22 um 17:47 schrieb tastytea:
> On 2022-10-07 17:25+0200 n952162 <n952162@web.de> wrote:
>
>> Am 07.10.22 um 16:56 schrieb Grant Taylor:
>>> On 10/7/22 8:25 AM, n952162 wrote:
>>>> Can anybody tell me how I can look at the official change history
>>>> of linux commands?
>>> Some man pages have history of commands in them.
>>>
>>> Admittedly, it seems as if man pages on Solaris and *BSD (I have
>>> access to FreeBSD) tend to be better than Linux man page at this
>>> aspect.
>>>
>>>
>>>
>> Well, the man page, yes, would be a good indicator, but the commands
>> themselves?
>>
>> Where does gentoo get the source to build test(1) or expr(1) or
>> date(1)? That's in some package, but where is the upstream source?
>> Is it something in github? Or a linux portal? Or Torvalds private
>> server? Or the gnu server?
>>
>>
> /usr/bin/test[1] was installed by sys-apps/coreutils[2], it's homepage
> is <https://www.gnu.org/software/coreutils/>[3], that links to the
> source code repository.
>
> Other ways to find out:
> - `equery meta sys-apps/coreutils`
> - `less $(portageq get_repo_path / gentoo)/sys-apps/coreutils/coreutils-8.32-r1.ebuild`
>
> Kind regards, tastytea
>
> [1] `whereis test`
> [2] `qfile /usr/bin/test` or `equery belongs /usr/bin/test`
> [3] `eix sys-apps/coreutils` or emerge -s sys-apps/coreutils`
>
Oh, that's good. Thank you.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 15:47 ` tastytea
2022-10-07 15:55 ` n952162
@ 2022-10-07 15:57 ` Michael Orlitzky
2022-10-07 15:57 ` Laurence Perkins
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2022-10-07 15:57 UTC (permalink / raw
To: gentoo-user
On Fri, 2022-10-07 at 17:47 +0200, tastytea wrote:
>
>
> /usr/bin/test was installed by sys-apps/coreutils
If you're using bash, the "test" command is actually built-in to the
shell to avoid forking a million processes in every shell script.
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [gentoo-user] Change History of linux commands
2022-10-07 15:47 ` tastytea
2022-10-07 15:55 ` n952162
2022-10-07 15:57 ` Michael Orlitzky
@ 2022-10-07 15:57 ` Laurence Perkins
2022-10-07 16:31 ` Matt Connell
2022-10-09 15:59 ` Róbert Čerňanský
4 siblings, 0 replies; 17+ messages in thread
From: Laurence Perkins @ 2022-10-07 15:57 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
> -----Original Message-----
> From: tastytea <gentoo@tastytea.de>
> Sent: Friday, October 7, 2022 8:48 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Change History of linux commands
>
> On 2022-10-07 17:25+0200 n952162 <n952162@web.de> wrote:
>
> > Am 07.10.22 um 16:56 schrieb Grant Taylor:
> > > On 10/7/22 8:25 AM, n952162 wrote:
> > >> Can anybody tell me how I can look at the official change history
> > >> of linux commands?
> > >
> > > Some man pages have history of commands in them.
> > >
> > > Admittedly, it seems as if man pages on Solaris and *BSD (I have
> > > access to FreeBSD) tend to be better than Linux man page at this
> > > aspect.
> > >
> > >
> > >
> >
> > Well, the man page, yes, would be a good indicator, but the commands
> > themselves?
> >
> > Where does gentoo get the source to build test(1) or expr(1) or
> > date(1)? That's in some package, but where is the upstream source?
> > Is it something in github? Or a linux portal? Or Torvalds private
> > server? Or the gnu server?
> >
> >
>
> /usr/bin/test[1] was installed by sys-apps/coreutils[2], it's homepage is <https://www.gnu.org/software/coreutils/>[3], that links to the source code repository.
>
> Other ways to find out:
> - `equery meta sys-apps/coreutils`
> - `less $(portageq get_repo_path / gentoo)/sys-apps/coreutils/coreutils-8.32-r1.ebuild`
>
> Kind regards, tastytea
>
> [1] `whereis test`
> [2] `qfile /usr/bin/test` or `equery belongs /usr/bin/test` [3] `eix sys-apps/coreutils` or emerge -s sys-apps/coreutils`
>
Note also that several of these may have copies built into your shell for speed and so that you can update the system utilities without an outage.
"bash -c help" or "busybox --help" or similar to see the list.
LMP
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 15:47 ` tastytea
` (2 preceding siblings ...)
2022-10-07 15:57 ` Laurence Perkins
@ 2022-10-07 16:31 ` Matt Connell
2022-10-07 17:04 ` Grant Taylor
2022-10-07 17:24 ` Dale
2022-10-09 15:59 ` Róbert Čerňanský
4 siblings, 2 replies; 17+ messages in thread
From: Matt Connell @ 2022-10-07 16:31 UTC (permalink / raw
To: gentoo-user
On Fri, 2022-10-07 at 17:47 +0200, tastytea wrote:
> equery meta
Ashamed to admit I learned of equery meta today. I'd previously been
relying on eix to find, say, the website associated with a package.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 16:31 ` Matt Connell
@ 2022-10-07 17:04 ` Grant Taylor
2022-10-07 17:10 ` Matt Connell
2022-10-07 17:24 ` Dale
1 sibling, 1 reply; 17+ messages in thread
From: Grant Taylor @ 2022-10-07 17:04 UTC (permalink / raw
To: gentoo-user
On 10/7/22 10:31 AM, Matt Connell wrote:
> Ashamed to admit I learned of equery meta today. I'd previously been
> relying on eix to find, say, the website associated with a package.
NEVER be ashamed to admit that you learned something.
Learning is a good thing.
It doesn't matter when you learn it as long as you do learn.
I think that being ashamed about not knowing something tends to promote
what I consider to be a negative stigmata that people should know
everything and that they should hide what they don't know.
I've been administering Linux professionally for more than two decades
and I still learn new things weekly if not daily.
Help pull others up, don't hold them down by climbing on top of them.
--
Grant. . . .
unix || die
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 17:04 ` Grant Taylor
@ 2022-10-07 17:10 ` Matt Connell
2022-10-07 17:39 ` Grant Taylor
0 siblings, 1 reply; 17+ messages in thread
From: Matt Connell @ 2022-10-07 17:10 UTC (permalink / raw
To: gentoo-user
On Fri, 2022-10-07 at 11:04 -0600, Grant Taylor wrote:
> I think that being ashamed about not knowing something tends to promote
> what I consider to be a negative stigmata that people should know
> everything and that they should hide what they don't know.
Was more just laughing at myself for having used equery so frequently
for ~10 years and not knowing about the option.
And if I was hiding it, I wouldn't have publicly replied that I learned
it :)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 17:10 ` Matt Connell
@ 2022-10-07 17:39 ` Grant Taylor
0 siblings, 0 replies; 17+ messages in thread
From: Grant Taylor @ 2022-10-07 17:39 UTC (permalink / raw
To: gentoo-user
On 10/7/22 11:10 AM, Matt Connell wrote:
> Was more just laughing at myself for having used equery so frequently
> for ~10 years and not knowing about the option.
Fair enough.
> And if I was hiding it, I wouldn't have publicly replied that I
> learned it :)
TIL
You accidentally struck a button for me. As the ... more experienced SA
on teams for a while, I tend to not tolerate people hording / not
sharing information and / or making fun of others for not knowing
something. So I counter this by actively promoting people learning
things as a good thing.
--
Grant. . . .
unix || die
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 16:31 ` Matt Connell
2022-10-07 17:04 ` Grant Taylor
@ 2022-10-07 17:24 ` Dale
1 sibling, 0 replies; 17+ messages in thread
From: Dale @ 2022-10-07 17:24 UTC (permalink / raw
To: gentoo-user
Matt Connell wrote:
> On Fri, 2022-10-07 at 17:47 +0200, tastytea wrote:
>> equery meta
> Ashamed to admit I learned of equery meta today. I'd previously been
> relying on eix to find, say, the website associated with a package.
>
>
I just checked that out and it is nifty. Now to remember the option
next time I need it. :/ You were not alone in missing that option. I
had no idea it was there either.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Change History of linux commands
2022-10-07 15:47 ` tastytea
` (3 preceding siblings ...)
2022-10-07 16:31 ` Matt Connell
@ 2022-10-09 15:59 ` Róbert Čerňanský
4 siblings, 0 replies; 17+ messages in thread
From: Róbert Čerňanský @ 2022-10-09 15:59 UTC (permalink / raw
To: gentoo-user
On Fri, 7 Oct 2022 17:47:51 +0200
tastytea <gentoo@tastytea.de> wrote:
> On 2022-10-07 17:25+0200 n952162 <n952162@web.de> wrote:
>
> > Am 07.10.22 um 16:56 schrieb Grant Taylor:
> > > On 10/7/22 8:25 AM, n952162 wrote:
> > >> Can anybody tell me how I can look at the official change history
> > >> of linux commands?
> > >
> > > Some man pages have history of commands in them.
> > >
> > > Admittedly, it seems as if man pages on Solaris and *BSD (I have
> > > access to FreeBSD) tend to be better than Linux man page at this
> > > aspect.
> > >
> > >
> > >
> >
> > Well, the man page, yes, would be a good indicator, but the commands
> > themselves?
> >
> > Where does gentoo get the source to build test(1) or expr(1) or
> > date(1)? That's in some package, but where is the upstream
> > source? Is it something in github? Or a linux portal? Or Torvalds
> > private server? Or the gnu server?
> >
> >
>
> /usr/bin/test[1] was installed by sys-apps/coreutils[2], it's homepage
> is <https://www.gnu.org/software/coreutils/>[3], that links to the
> source code repository.
For me the first and most obvious place to look at is
/usr/share/doc/<package>/. Usually there is NEWS or ChangeLog file or
both. Which <package> it is you can get from man page (it is written
at the end in the "footer") or with command
$ equery belongs `which <command>`.
--
Róbert Čerňanský
E-mail: openhs@tightmail.com
^ permalink raw reply [flat|nested] 17+ messages in thread