• Re: The joy of EBCDIC

    From Charlie Gibbs@21:1/5 to John Ames on Tue Nov 12 19:51:24 2024
    On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:

    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    Ah, finally something I can understand!

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Charlie Gibbs on Tue Nov 12 16:12:00 2024
    Charlie Gibbs wrote this post while blinking in Morse code:

    On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:

    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    Ah, finally something I can understand!

    You all beat me for geek fu! :-(

    But I am young. (67)

    --
    By failing to prepare, you are preparing to fail.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Chris Ahlstrom on Tue Nov 12 22:20:04 2024
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 21:12 this Tuesday (GMT):
    Charlie Gibbs wrote this post while blinking in Morse code:

    On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:

    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    Ah, finally something I can understand!

    You all beat me for geek fu! :-(

    But I am young. (67)


    67 is not young..
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to All on Wed Nov 13 06:59:55 2024
    candycanearter07 wrote this post while blinking in Morse code:

    Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 21:12 this Tuesday (GMT):
    Charlie Gibbs wrote this post while blinking in Morse code:

    On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:

    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    Ah, finally something I can understand!

    You all beat me for geek fu! :-(

    But I am young. (67)

    67 is not young.

    It is when you got 80+ year-old Presidents and doddering Congressmen.

    Anyway, I never got experience on IBM mainframes, just on DEC machines.

    Ah yes:

    --
    Of all men's miseries, the bitterest is this:
    to know so much and have control over nothing.
    -- Herodotus

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?Clemens_Sch=C3=BCller?=@21:1/5 to Fritz Wuehler on Thu Nov 14 21:20:03 2024
    Fritz Wuehler schrieb am 14. Nov. 2024 um 21:13:
    John Ames <commodorej...@gmail.com> [JA]:
    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A


    Do you want a spell checker with that?

    Pipe it to

    xxd -r -ps -u | iconv -f EBCDIC-CP-US -t ascii | aspell -pipe list | fmt


    (unix pipes can be such fun)

    I increase it with

    --8<---------------cut here---------------start------------->8--- nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev --8<---------------cut here---------------end--------------->8---

    🤣


    --
    np: Lost Frequencies & Love Harder - You (feat. Flynn) [Deluxe Mix]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fritz Wuehler@21:1/5 to All on Thu Nov 14 21:13:40 2024
    John Ames <commodorej...@gmail.com> [JA]:
    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    Do you want a spell checker with that?

    Pipe it to

    xxd -r -ps -u | iconv -f EBCDIC-CP-US -t ascii | aspell -pipe list | fmt


    (unix pipes can be such fun)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to cs.usenet@mailbox.org on Thu Nov 14 23:55:53 2024
    In comp.os.linux.misc, Clemens Schüller <cs.usenet@mailbox.org> wrote:
    I increase it with

    --8<---------------cut here---------------start------------->8--- nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev --8<---------------cut here---------------end--------------->8---

    Okay, I give up.

    1. How does that relate to EBCDIC?
    2. What is the "-c4-" step doing?

    (I have no programs on my path that start with "-". I do have a few that
    end with "-".)

    Elijah
    ------
    "rev | rev" is no-op so really curious about the middle transition

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Eli the Bearded on Fri Nov 15 20:23:54 2024
    On 2024-11-14, Eli the Bearded <*@eli.users.panix.com> wrote:

    In comp.os.linux.misc, Clemens Schüller <cs.usenet@mailbox.org> wrote:

    I increase it with

    --8<---------------cut here---------------start------------->8---
    nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev >> --8<---------------cut here---------------end--------------->8---

    Okay, I give up.

    1. How does that relate to EBCDIC?
    2. What is the "-c4-" step doing?

    (I have no programs on my path that start with "-". I do have a few that
    end with "-".)

    Elijah
    ------
    "rev | rev" is no-op so really curious about the middle transition

    I think the OP dropped a word - "cut -c4-" would make it
    drop the first 3 characters of each line.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)