• 3 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: September 15th, 2023

help-circle


  • There’s no shame in combining multiple tools, that’s what pipelines are all about

    Not at all, but some times it’s just funny

    You can select specific lines, with regex or by using a line number; or you can select multiple lines by using a comma to specify a range.

    Yep, learning this made sed even more useful to me.

    I also gave awk a try and now i know what i’ve missed all these years

    (Also, sorry for the 12 days old reply :))


  • orsetto@lemmy.dbzer0.comOPtoLinux@lemmy.mlHelp with sed commands
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    !/dev/dm-2!!p

    This weired me out until I read the explanation. I’m so used to the slashes lol

    In the end I’ve used the first command you wrote, because KISS, but I appreciate your explanation

    Check the sed man page for more details

    Yes that’s been my only source so far, but to be honest it’s really cryptic. it might just be that I’m used to syscalls man pages (also sed is kinda complex it can’t be easy to write a single man page for it)




















  • I don’t have time right now to read all the post, i only read up to the desktop grid, but i have to ask: have you ever heard about i3wm? I think you might like it.

    And if you do know it, do you know of any way to implement a desktop grid? I have the same problem you have with alt+tab and it would be the best thing ever