| Post Reply | RetroFed Forum Forum Index » Show & Tell |
| Author | Message | ||
|---|---|---|---|
|
confusedpuppy
lemmy.dbzer0.com
confusedpuppy@lemmy.dbzer0.com Joined: 2023-12-12 |
While researching and learning different tasks to do for my personal scripts, I tried keeping my code examples in different files in a directory. It was very unorganized and a bit overwhelming to deal. Instead I started writing a script that functions as a library for all the things I have learned. The script keeps everything in one spot and it's much easier to work on it. It also acts as a functioning style guide for myself so I can standardize my own future scripts. It's also easy to add code or work on existing code. I usually have it open whenever I am writing something new to use as a quick reference guide. Some of the features I have worked on include:
I tried my best to make it easy and obvious to understand. I know future me would get annoyed trying to relearn something I worked on before when I am focused on the script I want to write currently. I'm learning more about the very basic commands of Linux which is why I prefer writing POSIX portable scripts over Bash scripts. Deconstructing It's a nice, simple and ongoing project. Maybe there is something useful in there for anyone else writing POSIX portable scripts. I would like to learn a little about |
||
| 2 Original | |||
| Post Reply |
Back to top |