Lädt...


🐧 State of the art in usage of environment variables for shell programming


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

Hello all! Despite my several year usage of Linux and passion for programming, I've not yet delved into the depths of several aspects of Linux itself. I'm working on that now.

As I come across environment variables, it strikes me that there's so much potential! And it strikes me as interesting that they're not typed whatsoever (useful for quick/dirty scripts, for sure).

I've not had much success in searching (although I found GNU's Guile, which looks interesting; maybe not entirely related) but I'm interested to know:

What is the state of the art in using environment variables for more sophisticated scripts/programming? It seems, for example, that we could create an entire DSL (Domain Specific Language) within such variables that could be changed at runtime -- it seems that having these variables typed would be of interest, it seems that error-checking would be desirable (e.g., if we set an environment variable in a way that depends on an external network call, we want to know if it failed or not) -- again, it seems that there'd be so much potential!

I'm certain I'm not the first to think of this, so I'm wondering what experience in these matters exist. Thanks!

submitted by /u/Ellipsoider
[link] [comments] ...

🐧 State of the art in usage of environment variables for shell programming


📈 68.31 Punkte
🐧 Linux Tipps

🔧 Tìm Hiểu Về RAG: Công Nghệ Đột Phá Đang "Làm Mưa Làm Gió" Trong Thế Giới Chatbot


📈 39.47 Punkte
🔧 Programmierung

🔧 Blocker: How to load environment variables on broswer environment using webpack.config.js


📈 32.52 Punkte
🔧 Programmierung

🐧 New Unix tool to permanently export environment variables, aliases, and sourced shell files


📈 31.2 Punkte
🐧 Linux Tipps

🔧 Use functional state updates for incrementing state variables in React


📈 28.69 Punkte
🔧 Programmierung

🔧 Refactoring instance variables to local variables in Rails controllers


📈 27.77 Punkte
🔧 Programmierung

🔧 "Programming Poetry: A Collection of Poems on the Art of Programming"


📈 27.57 Punkte
🔧 Programmierung

🐧 Gnome Shell visibly stutters & Gnome Shell high CPU/GPU usage to be addressed by Ubuntu's contributions


📈 27.03 Punkte
🐧 Linux Tipps

🐧 Amazing in native Windows 11's Emacs28.1 to get Linux environment as shell-command and interactive shell


📈 25.31 Punkte
🐧 Linux Tipps

🔧 Variables and Constants: Declaration and Usage


📈 24.92 Punkte
🔧 Programmierung

🐧 shell-functools: Functional programming tools for the shell


📈 24.9 Punkte
🐧 Linux Tipps

🐧 SQL in the Shell: Relational shell programming


📈 24.9 Punkte
🐧 Linux Tipps

🐧 How to Replace Environment Variables Using the envsubst Command


📈 23.2 Punkte
🐧 Linux Tipps

🔧 Optimize DX with Typesafe Environment Variables and code Autocomplete


📈 23.2 Punkte
🔧 Programmierung

🐧 How to Set and Use Environment Variables In Bash Script


📈 23.2 Punkte
🐧 Linux Tipps

🔧 Set Environment Variables for Debug, Launch, and Tools with CMake and Open Folder


📈 23.2 Punkte
🔧 Programmierung

🔧 Why do I need to store environment variables in a separate file when going to production?


📈 23.2 Punkte
🔧 Programmierung

🐧 Linux Environment Variables


📈 23.2 Punkte
🐧 Linux Tipps

🔧 Practical Introduction to Environment Variables Using Node.js


📈 23.2 Punkte
🔧 Programmierung

🔧 Finding and solving a nasty bug with Cloud Run and environment variables


📈 23.2 Punkte
🔧 Programmierung

🪟 How to recover path environment variables on Windows 10


📈 23.2 Punkte
🪟 Windows Tipps

🔧 3 ways to use environment Variables in Rust


📈 23.2 Punkte
🔧 Programmierung

🍏 EnvPane 0.7 - Set environment variables for any application.


📈 23.2 Punkte
🍏 iOS / Mac OS

🔧 Managing environment variables in Angular apps


📈 23.2 Punkte
🔧 Programmierung

🐧 How To Set Environment Variables in Linux


📈 23.2 Punkte
🐧 Linux Tipps

📰 How to recover path environment variables on Windows 10


📈 23.2 Punkte
🖥️ Betriebssysteme

🔧 Environment Variables in Rust


📈 23.2 Punkte
🔧 Programmierung

🔧 SwiftUI Environment Variables: Navigating the Same-Type Constraint


📈 23.2 Punkte
🔧 Programmierung

🔧 Handling Environment Variables in Nuxt 3: Security Considerations and Best Practices


📈 23.2 Punkte
🔧 Programmierung

🪟 How To Set Path Environment Variables In Windows 10


📈 23.2 Punkte
🪟 Windows Tipps

🔧 Never worry about environment variables again with direnv


📈 23.2 Punkte
🔧 Programmierung

🔧 Securely store environment variables with GitHub Codespaces


📈 23.2 Punkte
🔧 Programmierung

🔧 Dev Containers - Part 2: Image, Features, Workspace, Environment Variables


📈 23.2 Punkte
🔧 Programmierung

matomo