Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #266960
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: script/history |
| Date | 2024-02-04 20:50 +0100 |
| Message-ID | <I3QF3-7Tuv-5@gated-at.bofh.it> (permalink) |
| References | <I3Hip-7Nv9-1@gated-at.bofh.it> <I3KJk-7PXW-11@gated-at.bofh.it> <I3Ne9-7Rxx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun 04 Feb 2024 at 16:01:29 (+0000), Gareth Evans wrote:
> On Sun 04/02/2024 at 13:24, Max Nikulin <manikulin@gmail.com> wrote:
> > On 04/02/2024 16:46, Gareth Evans wrote:
> >> Re the script command, does anyone know of a way [ … ]
> > [...]
> >> man script says
> >>
> >> "SEE ALSO
> >> csh(1) (for the history mechanism)"
My take on this is that the man page was originally written for
BSD, which lies on the csh side of the "great divide" rather
than the sh/bash side.
SCRIPT(1) User Commands SCRIPT(1)
[ … ]
HISTORY
The script command appeared in 3.0BSD.
I have no idea why "the history mechanism" is even mentioned
in the man page for script.
> The function of the "a" option in History Substitution in man csh seems different in the bash version.(under "Word Designators" in man bash/gnu online manual)
According to this man page for csh (but includes tcsh):
https://linux.die.net/man/1/csh
the "a" that modifies modifiers is a "[feature] of tcsh not found
in most csh(1) implementations (specifically, the 4.4BSD csh)". It
appears that bash supports it syntactically, but not its semantics.
I'm not sure why you mentioned this shell detail specifically.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-04 10:50 +0100
Re: script/history hw <hw@adminart.net> - 2024-02-04 12:20 +0100
Re: script/history Michael Grant <mgrant@grant.org> - 2024-02-04 12:30 +0100
Re: script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-04 14:20 +0100
Re: script/history hw <hw@adminart.net> - 2024-02-04 14:30 +0100
Re: script/history Greg Wooledge <greg@wooledge.org> - 2024-02-04 14:30 +0100
Re: script/history Max Nikulin <manikulin@gmail.com> - 2024-02-04 14:30 +0100
Re: script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-04 17:10 +0100
Re: script/history Greg Wooledge <greg@wooledge.org> - 2024-02-04 18:40 +0100
Re: script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-05 01:30 +0100
Re: script/history Greg Wooledge <greg@wooledge.org> - 2024-02-05 01:50 +0100
Re: script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-05 02:30 +0100
Re: script/history David Wright <deblis@lionunicorn.co.uk> - 2024-02-04 20:50 +0100
Re: script/history Greg Wooledge <greg@wooledge.org> - 2024-02-04 21:40 +0100
Re: script/history "Gareth Evans" <donotspam@fastmail.fm> - 2024-02-05 01:40 +0100
Re: script/history Will Mengarini <seldon@eskimo.com> - 2024-02-05 02:20 +0100
csiph-web