You are here |
codeinthehole.com | ||
| | | |
swethatanamala.github.io
|
|
| | | | Just a description of command in linux | |
| | | |
willhaley.com
|
|
| | | | 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! | |
| | | |
paperless.blog
|
|
| | | | git bisect run lets us find the breaking commit in O(log(N)) time for N commits, by doing a binary search through commits to determine the one which broke things. It is extremely useful, but the thing which often takes a long time is figuring out which command to use to reliably determine whether a commit is good or bad. This article explains some techniques to help with this task. | |
| | | |
3.70.187.24
|
|
| |