home.social

#tcsh — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #tcsh, aggregated by home.social.

  1. Preparing an engineering-focused presentation entitled "The Zen of Shell Scripting" for an internal talk at work. Question for seasoned Shell programmers: What would you have liked to know when you first started out? Interested in both big ideas and sharp edges that come with Shell scripting.

    #shell #unix #linux #posix #bash #zsh #tcsh #ksh #fish

  2. Preparing an engineering-focused presentation entitled "The Zen of Shell Scripting" for an internal talk at work. Question for seasoned Shell programmers: What would you have liked to know when you first started out? Interested in both big ideas and sharp edges that come with Shell scripting.

    #shell #unix #linux #posix #bash #zsh #tcsh #ksh #fish

  3. If I've never seen the codebase, which shell has the easiest code to read and understand? Specifically I want to isolate the code for *parsing* the command line syntax.

    All -compliant (or close enough) shells welcome! I probably don't know them all but off the top of my head:



    (sorry for the spam, marine life enthusiasts)


    & I think?

  4. #Poll: Curious about people's attitudes towards shell scripting.

    Two part question:

    1. Are you a DEVeloper (or working in a development-heavy role), OTHER-IT worker (such as a sysadmin, architect, anything in a non-development-heavy role), or NON-IT (accountant, doctor, whatever)
    2. Do you HATE shell scripting, are you INDIFferent towards (or ignorant of) shell scripting, or do you LOVE it?

    #Unix #UnixShell #ShellScript #ShellScripting #POSIX #PosixShell #sh #bash #zsh #csh #tcsh #ksh #pdksh #oksh #mksh

  5. #Poll: Curious about people's attitudes towards shell scripting.

    Two part question:

    1. Are you a DEVeloper (or working in a development-heavy role), OTHER-IT worker (such as a sysadmin, architect, anything in a non-development-heavy role), or NON-IT (accountant, doctor, whatever)
    2. Do you HATE shell scripting, are you INDIFferent towards (or ignorant of) shell scripting, or do you LOVE it?

    #Unix #UnixShell #ShellScript #ShellScripting #POSIX #PosixShell #sh #bash #zsh #csh #tcsh #ksh #pdksh #oksh #mksh

  6. #Poll: Curious about people's attitudes towards shell scripting.

    Two part question:

    1. Are you a DEVeloper (or working in a development-heavy role), OTHER-IT worker (such as a sysadmin, architect, anything in a non-development-heavy role), or NON-IT (accountant, doctor, whatever)
    2. Do you HATE shell scripting, are you INDIFferent towards (or ignorant of) shell scripting, or do you LOVE it?

    #Unix #UnixShell #ShellScript #ShellScripting #POSIX #PosixShell #sh #bash #zsh #csh #tcsh #ksh #pdksh #oksh #mksh

  7. #Poll: Curious about people's attitudes towards shell scripting.

    Two part question:

    1. Are you a DEVeloper (or working in a development-heavy role), OTHER-IT worker (such as a sysadmin, architect, anything in a non-development-heavy role), or NON-IT (accountant, doctor, whatever)
    2. Do you HATE shell scripting, are you INDIFferent towards (or ignorant of) shell scripting, or do you LOVE it?

    #Unix #UnixShell #ShellScript #ShellScripting #POSIX #PosixShell #sh #bash #zsh #csh #tcsh #ksh #pdksh #oksh #mksh

  8. Linus Torvalds has proper motivated reasons for really disliking file systems without a case sensitivity.

    Read this with me from the kernel lkml, regarding bcachefs.

    Re: [GIT PULL] bcachefs fixes for 6.15-rc4 - Linus Torvalds
    lore.kernel.org/lkml/CAHk-=wja

    🖋️ #bash #sh #zsh #ksh #csh #tcsh #fish #git #Linux #lkml #POSIX #FOSS #100daysofCode #640DaysOfCode #coding #1024DaysOfCode #github #programming #Torvalds #filesystem

  9. Linus Torvalds has proper motivated reasons for really disliking file systems without a case sensitivity.

    Read this with me from the kernel lkml, regarding bcachefs.

    Re: [GIT PULL] bcachefs fixes for 6.15-rc4 - Linus Torvalds
    lore.kernel.org/lkml/CAHk-=wja

    🖋️ #bash #sh #zsh #ksh #csh #tcsh #fish #git #Linux #lkml #POSIX #FOSS #100daysofCode #640DaysOfCode #coding #1024DaysOfCode #github #programming #Torvalds #filesystem

  10. This error in MX Linux KDE edition is now annoying

    I cant work without ffmpeg and Im NOT going to install a programming ENV: just to build one programma

    >>
    $ sudo apt install ffmpeg
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Suggested packages:
    ffmpeg-doc
    The following NEW packages will be installed:
    ffmpeg
    0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
    Need to get 1,816 kB of archives.
    After this operation, 2,437 kB of additional disk space will be used.
    Get:1 deb.debian.org/debian bookworm/main amd64 ffmpeg amd64 7:5.1.6-0+deb12u1 [1,816 kB]
    Fetched 1,816 kB in 2s (992 kB/s)
    Selecting previously unselected package ffmpeg.
    (Reading database ... 342056 files and directories currently installed.)
    Preparing to unpack .../ffmpeg_7%3a5.1.6-0+deb12u1_amd64.deb ...
    Unpacking ffmpeg (7:5.1.6-0+deb12u1) ...
    Setting up ffmpeg (7:5.1.6-0+deb12u1) ...
    Processing triggers for man-db (2.11.2-2) ...
    metalloid@bugrupola:~
    $ ffmpeg
    ffmpeg: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

    <<

    Who knows a fix apart from compilation?

    #AskFediverse #ffmpeg #programming #Linux #KDE #MXLinux #iso #bash #tcsh #ksh #zsh #sh

  11. This error in MX Linux KDE edition is now annoying

    I cant work without ffmpeg and Im NOT going to install a programming ENV: just to build one programma

    >>
    $ sudo apt install ffmpeg
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Suggested packages:
    ffmpeg-doc
    The following NEW packages will be installed:
    ffmpeg
    0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
    Need to get 1,816 kB of archives.
    After this operation, 2,437 kB of additional disk space will be used.
    Get:1 deb.debian.org/debian bookworm/main amd64 ffmpeg amd64 7:5.1.6-0+deb12u1 [1,816 kB]
    Fetched 1,816 kB in 2s (992 kB/s)
    Selecting previously unselected package ffmpeg.
    (Reading database ... 342056 files and directories currently installed.)
    Preparing to unpack .../ffmpeg_7%3a5.1.6-0+deb12u1_amd64.deb ...
    Unpacking ffmpeg (7:5.1.6-0+deb12u1) ...
    Setting up ffmpeg (7:5.1.6-0+deb12u1) ...
    Processing triggers for man-db (2.11.2-2) ...
    metalloid@bugrupola:~
    $ ffmpeg
    ffmpeg: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

    <<

    Who knows a fix apart from compilation?

    #AskFediverse #ffmpeg #programming #Linux #KDE #MXLinux #iso #bash #tcsh #ksh #zsh #sh

  12. Tired of asking a web LLM to generate aws-cli commands for you and copy+pasting the result into your shell?

    I've written a shell command that does this for me, and I can't live without it now.

    getabc.sh/

    Ready for feedback and issues from early adopters.

    #cli #bash #zsh #tcsh #linux #mac #aws

  13. Tired of asking a web LLM to generate aws-cli commands for you and copy+pasting the result into your shell?

    I've written a shell command that does this for me, and I can't live without it now.

    getabc.sh/

    Ready for feedback and issues from early adopters.

    #cli #bash #zsh #tcsh #linux #mac #aws

  14. 🐚 TCSH, a shell for Fortune & Glory 🐚

    Relevant blog post @ OpenSource.com

    > "Why I still love tcsh after all these years. Bash may be more popular, but tcsh has advantages that make it more appealing..."

    - opensource.com/article/20/8/tc

    How about dot-files for my tcsh config, sure...
    - codeberg.org/winterschon/dot-f

    #freebsd #linux #sysadmin #engineering #terminal #shells #bash #tcsh #csh #modernSolutionsForModernProblems

  15. 🐚 TCSH, a shell for Fortune & Glory 🐚

    Relevant blog post @ OpenSource.com

    > "Why I still love tcsh after all these years. Bash may be more popular, but tcsh has advantages that make it more appealing..."

    - opensource.com/article/20/8/tc

    How about dot-files for my tcsh config, sure...
    - codeberg.org/winterschon/dot-f

    #freebsd #linux #sysadmin #engineering #terminal #shells #bash #tcsh #csh #modernSolutionsForModernProblems

  16. @kenshirriff @b0rk Always default to enclosing file names and other argument strings to your #shell in 'single quotes' unless you want it mucked about with substituting $ENVIRONMENT_VARIABLES or `command substitution` (which uses an entirely other kind of quote!)

    "Double quotes" will honor the spaces but also tell your shell to look for variable and command expansion.

    #Linux #Unix #bash #zsh #Zshell #ksh #csh #tcsh #fish #FishShell

  17. @kenshirriff @b0rk Always default to enclosing file names and other argument strings to your #shell in 'single quotes' unless you want it mucked about with substituting $ENVIRONMENT_VARIABLES or `command substitution` (which uses an entirely other kind of quote!)

    "Double quotes" will honor the spaces but also tell your shell to look for variable and command expansion.

    #Linux #Unix #bash #zsh #Zshell #ksh #csh #tcsh #fish #FishShell

  18. @kenshirriff @b0rk Always default to enclosing file names and other argument strings to your #shell in 'single quotes' unless you want it mucked about with substituting $ENVIRONMENT_VARIABLES or `command substitution` (which uses an entirely other kind of quote!)

    "Double quotes" will honor the spaces but also tell your shell to look for variable and command expansion.

    #Linux #Unix #bash #zsh #Zshell #ksh #csh #tcsh #fish #FishShell

  19. @kenshirriff @b0rk Always default to enclosing file names and other argument strings to your #shell in 'single quotes' unless you want it mucked about with substituting $ENVIRONMENT_VARIABLES or `command substitution` (which uses an entirely other kind of quote!)

    "Double quotes" will honor the spaces but also tell your shell to look for variable and command expansion.

    #Linux #Unix #bash #zsh #Zshell #ksh #csh #tcsh #fish #FishShell

  20. This guide shows you how to change your Linux shell, making the switch from(to) Bash, Fish, Zsh, or any other shell a breeze.
    linuxiac.com/how-to-change-she

    #linux #shell #bash #fishshell #zsh #tcsh

  21. This guide shows you how to change your Linux shell, making the switch from(to) Bash, Fish, Zsh, or any other shell a breeze.
    linuxiac.com/how-to-change-she

    #linux #shell #bash #fishshell #zsh #tcsh

  22. @ojs @OpenBSDAms A C-Shell is a traditional default shell in #BSD systems (#FreeBSD uses the #tcsh implementation). So, finding at least a default configuration isn't too surprising.

  23. @ojs @OpenBSDAms A C-Shell is a traditional default shell in systems (#FreeBSD uses the implementation). So, finding at least a default configuration isn't too surprising.

  24. @hramrach @bagder if you think #bash is horrible (I assume you use #zsh and/or #fish - which then yes that is a valid argument) then please take a look at #ksh, #tcsh or the original #UNIX #sh and tell me that's readable.

    Tangents aside: Bash, for better or worse, is the #standard for #Linux and since I want OS/1337 to be "self-reproducing" / "self-hosting" with as little dependencies as possible, I'm stuck with it.

    @OS1337
    #OS1337

  25. @flomaraninchi

    Oh, on est 2 à pas s'être décidés à migrer de #tcsh....?

    Bon après si je pouvais scripter le velouté ce serait en #bash. C'est que pour la cuisine interactive que j'ai pas le courage de recoder mes p'tits raccourcis qui vont bien pour sortir la poêle en fonte ou éditer le réglage du four en #vi.

  26. @flomaraninchi

    Oh, on est 2 à pas s'être décidés à migrer de #tcsh....?

    Bon après si je pouvais scripter le velouté ce serait en #bash. C'est que pour la cuisine interactive que j'ai pas le courage de recoder mes p'tits raccourcis qui vont bien pour sortir la poêle en fonte ou éditer le réglage du four en #vi.

  27. @vermaden @[email protected] @stefano To be fair, this article is *very* old and targets some "original" , not (which certainly fixes many of the severe bugs).

    Nevertheless, some strange behavior (like the inability to redirect stdout and stderr individually) persists.

  28. @rwatt @malte No. If you want to use stock RELEASE versions, use freebsd-update, it's the simplest way. Using source is only needed when you want to change build-time options (which I do, e.g. to leave out , , and a few other things from base).

  29. TIL: there is a "foreach" keyword in #zsh, which is about exactly the same even with character counts as "for" (probably for #ksh or #tcsh or other shell compat?)