Deutsch English Français Italiano |
<v5trcn$10nuj$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.unix.shell Subject: [ksh93] defunct 'fc' command? Date: Mon, 1 Jul 2024 11:03:17 +0200 Organization: A noiseless patient Spider Lines: 25 Message-ID: <v5trcn$10nuj$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 01 Jul 2024 11:03:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="97c7a9a36948d3f0df5e998339a9ced9"; logging-data="1073107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/z4dnhRquc9rIZ56f/XJbM" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:rMRB3RCfr2np+bNKwrfXkVltT0k= X-Mozilla-News-Host: news://news.eternal-september.org:119 X-Enigmail-Draft-Status: N1110 Bytes: 1803 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