83 private links
drop-in replacement for GNU getopt implemented in pure Bash - agriffis
Automatically create parsed bash arguments code -- input what you need in the comment box and it will generate the (lengthy) code.
Adding a configuration file to bash scripts
:ram: A CLI tool for processing data with functional pipelines - raine
A simple Pomodoro timer written in bash. Contribute to jsspencer
:neckbeard: Powerful Slack CLI via pure bash. Rich messaging, uploads, posts, piping, oh my! - rockymadden
Super simple Bash static site generator
The more idiomatic way of doing what you want is then:
echo 'http://dx.doi.org/'"$(pbpaste)"
The $(...) syntax is called command substitution. In short, it executes the commands enclosed in a new subshell, and substitutes the its stdout output to where the $(...) was invoked in the parent shell. So you would get, in effect:
A Golang BibTeX package and bibfilter tool. Contribute to caltechlibrary
sed cheatsheet -- containing the four sed spaces (input stream, output stream, pattern space, hold buffer) and what commands change in them
The Grymoire - Tutorial on the SED stream editor.
Inspired by the success of my Awk One-Liners Explained article (30,000 views in first three days), I decided to explain sed one-liners as well. These one-liners, just like the Awk one-liners, were compiled by Eric Pement. You can download them here – sed one-liners (link to .txt file). Most people are only familiar...
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
Unix shell startup order and initialization of config files
Simplified how-to for some common zsh completion script procedures
- For in-depth, but confusing manual: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-System-Configuration
Contains specs for utility functions, tags, and special designated variables - Gentle, opinionated introduction: https://zv.github.io/a-review-of-zsh-completion-utilities
- readable, more in-deth guide: http://zsh.sourceforge.net/Guide/zshguide.html
A tutorial for adding tab completion to your scripts using the Bash Programmable Completion functionality.
Tab completions can be a big usability win for CL tools, but building it into your program isn’t straightforward, and there aren’t many how-to resources online. Luckily, I found this excellent tutorial written by James Coglan, and used it to build tab completion for my program notes.
a bash script using nmcli and rofi to make a wifi menu in i3
Spotify for the terminal written in Rust 🚀. Contribute to Rigellute
Render markdown on the CLI, with pizzazz! 💅🏻. Contribute to charmbracelet