Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • It's usually easy to modify what things a one-liner operates on. That "pass parameters" point for a script maybe should be "you want to package it up for simple use later". I've written "one-liners" that include defining a shell function and calling it. Although now that I think about it, that one has settled down after several iterations and I should put it in a script. Commented Oct 3, 2019 at 11:16