[ksh93] defunct 'fc' command?

Liste des GroupesRevenir à cu shell 
Sujet : [ksh93] defunct 'fc' command?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shell
Date : 01. Jul 2024, 10:03:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5trcn$10nuj$1@dont-email.me>
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In a recent thread about an emacs mode editing mode function in ksh
there was a note about ^O ("it will stay in the history and move to
the next line"). Thinking about an emulation in vi editing mode I
noticed that 'fc' doesn't seem to work on my Limux platform (neither
with ksh93u+ nor with ksh93u+m). Usually I use that built-in command
only as 'fc -l' (to list the history entries), and omitting the '-l'
should execute these commands. Alas, 'fc <from> <to>' doesn't work;
for example

$ fc -l 1013 1015
1013 ls X
1014 ls Y
1015 ls Z
$ fc 1013 1015
15
^C
?
^Z[1] + Stopped                  fc 1013 1015
$ kill %%
[1] + Terminated               fc 1013 1015


Is that an issue in my environment (or on my platform), or a bug?

Janis

Date Sujet#  Auteur
1 Jul 24 * [ksh93] defunct 'fc' command?5Janis Papanagnou
1 Jul 24 `* Re: [ksh93] defunct 'fc' command?4Geoff Clare
1 Jul 24  `* Re: [ksh93] defunct 'fc' command?3Janis Papanagnou
2 Jul 24   `* Re: [ksh93] defunct 'fc' command?2Geoff Clare
2 Jul 24    `- Re: [ksh93] defunct 'fc' command?1Janis Papanagnou

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal