• Re: The joy of EBCDIC

    From John Ames@commodorejohn@gmail.com to comp.os.linux.misc on Tue Nov 12 11:14:26 2024
    From Newsgroup: comp.os.linux.misc

    E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.os.linux.misc on Tue Nov 12 19:51:24 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.misc on Tue Nov 12 16:12:00 2024
    From Newsgroup: comp.os.linux.misc

    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.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From candycanearter07@candycanearter07@candycanearter07.nomail.afraid to comp.os.linux.misc on Tue Nov 12 22:20:04 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.misc on Wed Nov 13 06:59:55 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Fritz Wuehler@fritz@spamexpire-202411.rodent.frell.theremailer.net to comp.os.linux.misc on Thu Nov 14 21:13:40 2024
    From Newsgroup: comp.os.linux.misc

    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)

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From =?utf-8?Q?Clemens_Sch=C3=BCller?=@cs.usenet@mailbox.org to comp.os.linux.misc on Thu Nov 14 21:20:03 2024
    From Newsgroup: comp.os.linux.misc

    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]
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Eli the Bearded@*@eli.users.panix.com to comp.os.linux.misc on Thu Nov 14 23:55:53 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.os.linux.misc on Fri Nov 15 20:23:54 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114