lineselect
moreutils
lineselect | moreutils | |
---|---|---|
5 | 19 | |
156 | 2 | |
- | - | |
7.1 | 0.0 | |
4 months ago | over 1 year ago | |
JavaScript | Shell | |
MIT License | GNU General Public License v3.0 only |
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.
lineselect
moreutils
-
Pipexec – Handling pipe of commands like a single command
I use mutlios and even I'm not that attached to it. The majority of my use is combined with process substitution, and could be replaced with common-ish tools like pee¹ or pipexec for more complex cases. The only occasion when I'm thankful for it is if I want to use a shell function as a target, but there are workarounds for that too.
As a noclobber user the footgun is largely hidden to me, but I feel its presence. multios without globbing support would be less useful, but would still work for most of my use cases. Scanning my shell history I see various cases of relying on zsh's ability to apply sorting and filtering to globs with multios' input redirection, but only a couple where I want that in output redirection.
Even with multios unset the behaviour is different between zsh and bash. For example, multios disables all the expansion, so zsh behaves like more like dash with ': >t{1,2}' by creating a file instead producing an error like bash does.
[FWIW, I google'd multiios to link the option in original comment. It really feels to me like it needs double-i, and I read the single i name the same way you do.]
---
I'd be one of those people whose desire for dgsh-like functionality wanes. If it was slight DSL that I could "upgrade" pipelines to I'd probably use it, but not enough to warrant working on it or switching other tooling to support it.
The end of result of this morning's pipeline was breaking my jobs up, and applying some judicious use of nq² to keep track of it. I'd follow your advice and move on to more specialist tools if the job grew significantly or if it became a regular occurrence.
¹ https://joeyh.name/code/moreutils/
² https://git.vuxu.org/nq/about/
- Show HN: Simple Script for Enhanced LLM Interaction in Vim
-
The shell and its crappy handling of whitespace
For filesystem operations like batch renames at least, I am usually happy with `vidir` (part of `moreutils`: https://joeyh.name/code/moreutils/).
`vidir [path]` will open an editor with the given directory as buffer contents.
-
Show HN: LineSelect, shell utility to interactively select lines in a pipeline
See also: "vipe" from the excellent "moreutils" package: https://joeyh.name/code/moreutils/
There are some other gems in this package. The ones I find myself using regularly are 'ts' and 'sponge' but I'm sure the useful subset depends a lot on the kind of work you are doing
-
Vim Keybindings Everywhere – The Ultimate List
Joey Hess' excellent moreutils¹ comes with vipe which is a generalised solution for these types of tasks. It allows you to run whatever $EDITOR you've configured mid-pipe, making it possible to work your changes up in an interactive editor session. Useful for those of us not smart enough to write up our changes as a series of -c arguments ;)
(It fixes the vim issue by virtue of using a temporary file to do the magic)
¹ https://joeyh.name/code/moreutils/
-
vimv has not only changed my workflow, it changed my life
Sounds like `vidir` from moreutils.
-
What "nice-to-have" CLI tools do you know?
vidir and a few others from moreutils
-
rtl_fm - record and also output audio on a speaker (Raspberry pi?)
Use pee (yes, I know) from moreutils. Something like:
-
How to re-order the strings of a filename in bulk?
I would use vidir from moreutils. Then you can do any edits and play around with any regexes you want!
-
Should i learn file management using terminal?
For bulk file renaming, I recommend vidir from moreutils - it lets you rename everything in a directory with your $EDITOR (vim being the default).
What are some alternatives?
evernote-ai-chatbot
pipe-rename - Rename your files using your favorite text editor
sitemap2feed - Convert an online sitemap to Atom, RSS and JSON feeds
atomicxt
blazingmq - A modern high-performance open source message queuing system
map.xplr - Visually inspect and interactively execute batch commands using xplr
container.training - Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.
fstring - Make searching for text strings easier on Linux :)
CML_AMP_LLM_Chatbot_Augmented_with_Enterprise_Data
vidir - edit directory in $EDITOR (better than vim . with netrw)
ossinsight-lite - 🚧[WIP] Yet another customizable free GitHub stats dashboard based on TiDB Serverless: https://ossinsight-lite.vercel.app, hand-drawn style.
evenmoreutils - A collection of command line tools to extend the shell environment.