romanzolotarev.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
/pub
Admin account
@hi@romanzolotarev.com

Search results for tag #shell

[?]R.L. Dane :Debian: :OpenBSD: :FreeBSD: ๐Ÿต :MiraLovesYou: [he/him/my good fellow] ยป 🌐
@rl_dane@polymaths.social

I'm not saying you should all go out and set up aliases to enable your various typos and slip-ups, but I honestly don't know why I didn't do this 25 years ago.

alias cd..='cd ..'

#bash #UNIX #Shell #UnixShell #POSIX

    8 ★ 0 ↺

    [?]roman ยป 🌐
    @hi@romanzolotarev.com

    a decade ago i started replacing gui apps with my own shell scripts or just plain text files. i still have quite a list of apps i use, but command line interface is my favorite ❤️


      3 ★ 1 ↺
      nathanael boosted

      [?]roman ยป 🌐
      @hi@romanzolotarev.com

      i used to track my time for years, but then stopped. now want to try again at least for a week or so. do you track your time?

      i wrote a little time log parser in posix shell. it collects from all the files in my todo directory, selects all the lines formated like this...

      # start-time stop-time project: task description
      - 20260301-085700 20260301-095640 code: add log.sh
      ...and outputs logged time grouped by projects

      code	05:10:44
      home 00:22:00
      kids 00:42:40
      meta 00:40:22

        4 ★ 0 ↺

        [?]roman ยป 🌐
        @hi@romanzolotarev.com

        another rabbit hole: a sitemap on 404 page of nchrs.xyz


          12 ★ 2 ↺

          [?]roman ยป 🌐
          @hi@romanzolotarev.com

          i love my scripts.

          i try to push shell as far as it reasonably goes. for most tasks, sh, find, grep, sed, and cut is more than enough. only when things become truly complex or painfully slow do i reach for another language.

          i used to care a lot about strict portability, but in practice i only run my scripts on macos and . that simplifies things: if shellcheck is happy, i'm happy. i'm 99% sure my scripts work on other unix-like systems, but i don't feel the need to check.

          what really draws me to shell is that it's always there. it's part of the base system, requires no extra installation, and the runtime has been stable for decades. that stability translates directly into confidence: shell scripts feel future-proof.

          i know i can run something like ssg.sh ten years from now and it will still work --- certainly on , and hopefully on macos too. there's no dependency churn, no worrying about the "right" version of python or ruby, and no hoping the ecosystem hasn't moved on.

          it just runs.

          built with /bin/sh

          Alt...built with /bin/sh