Explore >> Select a destination


You are here

benbrougher.tech
| | willhaley.com
13.7 parsecs away

Travel
| | This is a trivial example, but is meant to demonstrate how you can pipe arguments to a bash function. #!/usr/bin/env bash lowercase() { # Grab input. declare input=${1:-$(</dev/stdin)}; # Use that input to do anything. echo "$input" | tr '[:upper:]' '[:lower:]' } echo "HELLO there, FRIEND!" | lowercase Which outputs the following. hello there, friend!
| | blog.djy.io
10.8 parsecs away

Travel
| |
| | trendless.tech
13.4 parsecs away

Travel
| | Computer coding has a relatively long history compared to most other computer-based things. While Charles Babbage created the difference machine in the 1820s, Ada Lovelace was the first "programmer". Machine/Assembly Coding At its core, programming could be machine code: just a bunch of 0s and 1s. But, that's tiresome, and hard to read, so they [...]Read More... from Code Basics: How Do Coders Code?
| | blog.burntsushi.net
106.5 parsecs away

Travel
| I blog mostly about my own programming projects.