this post was submitted on 10 Jun 2023
16 points (100.0% liked)

Shell Scripting

1345 readers
1 users here now

From Ash, Bash and Csh to Xonsh, Ysh and Zsh; all shell languages are welcome here!

Rules:
  1. Follow Lemmy rules!
  2. Posts must relate to shell scripting. (See bottom of sidebar for more information.)
  3. Only make helpful replies to questions. This is not the place for low effort joke answers.
  4. No discussion about piracy or hacking.
  5. If you find a solution to your problem by other means, please take your time to write down the steps you used to solve your problem in the original post. You can potentially help others having the same problem!
  6. These rules will change as the community grows.

Keep posts about shell scripting! Here are some guidelines to help:


In general, if your submission text is primarily shell code, then it is welcome here!

founded 1 year ago
MODERATORS
 

Feedback is still welcome, either here or as Merge Requests to my Gitlab Pages repo.

top 3 comments
sorted by: hot top controversial new old
[–] dalarist 4 points 1 year ago

Nice, got some really good tidbits in there, and I especially like your opening, giving some context to understand the rest of the article

[–] lowleveldata 4 points 1 year ago (1 children)

Never quite understand what sed is designed for. It seems to be able to do almost everything in the cost of complexity. Really useful when I need to hack together some config files for auto builds tho.

[–] gamma 2 points 1 year ago

The name stream editor hints at its origin: It's a strictly non-interactive implementation based on the standard Unix line editor ed -- or technically qed, which is based on ed.