Bash-Oneliner
shfmt
Bash-Oneliner | shfmt | |
---|---|---|
19 | 11 | |
10,182 | 28 | |
- | - | |
4.2 | 10.0 | |
about 1 month ago | over 5 years ago | |
Makefile | ||
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Bash-Oneliner
- Bash-Oneliners: A collection of terminal tricks for Linux
-
Why do linux users use terminal when the gui system apps are way noob friendly?
And here's a great place to learn the power of the bash oneliner!
-
GitHub - onceupon/Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.
You forgot/accidentally dropped the actual link to your collection.
- Bash one-liner tricks
-
I Deleted 7TB of Videos Before Going to Production
Ctrl + x + Ctrl + e : launch editor defined by $EDITOR to input your command. Useful for multi-line commands.
I have tested this on windows with a MINGW64 bash, it works similarly to how `git commit` works; by creating a new temporary file and detecting* when you close the editor.
[0] https://github.com/onceupon/Bash-Oneliner
* Actually I have no idea how this works; does bash wait for the child process to stop? does it do some posix filesystem magic to detect when the file is "free"? I can't really see other ways
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
-
A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance
This repo of a collection of Bash One-Liners and terminal tricks was recently posted over on HackerNews.
- Bash-oneliner: A collection of handy Bash one-liners and terminal tricks
shfmt
-
Amber – the programming language compiled to Bash
Nothing can be done about variable names, but format inconsistencies can be autofixed with shfmt. I've been using it for years and it's been solid.
https://github.com/mvdan/sh
-
Go Run
Are you assuming that based on visiting the vanity import path in a browser?
https://github.com/mvdan/sh is the repo looks like v3.8.0 was released 2 weeks ago.
- FLiP Stack Weekly for 13-Feb-2023
- new user trying to learn what am i doing wrong?
-
Production pipelines are tested in production
For shell specifically, ShellCheck and Shfmt are great.
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
-
How common are code bases where 90% of functions have the same signature?
I haven't worked in, like, a ton of Go code bases, but I've worked in several (work, my own code, Gio UI, github.com/mvdan/sh, some others), and I've never seen this pattern that extensively. It does seem like something of an antipattern.
-
Ask HN: Let's Build CheckStyle for Bash?
- sh: https://github.com/mvdan/sh
-
Autofix missing spaces for test operators in bash
I guess what you're asking is to automatically format on save. There's https://github.com/mvdan/sh, which between other things, is a shell formatter. I don't know what you're using but shfmt is available in the repos of some linux distros.
- s/bash/zsh/g
What are some alternatives?
fs-events
ShellCheck - ShellCheck, a static analysis tool for shell scripts
utah - Dataframe structure and operations in Rust
shellharden - The corrective bash syntax highlighter
boost - Get started right. Become a shell native. This is the way.
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
touched
bash-timestamping-sqlite - bash commandline timestamping using a sqlite database for personal analytics, activity logging and auditing
vscode-bash-debug - Bash shell debugger extension for VSCode (based on bashdb)
zplug - :hibiscus: A next-generation plugin manager for zsh
the-art-of-command-line - Master the command line, in one page
volta - Volta: JS Toolchains as Code. ⚡