recentpopularlog in

@bash

« earlier   
Shell tricks: sort a Bash array by length
I'm certain there's a more elegant way to do this, but I couldn't find it. I needed to sort a Bash array of strings by the length of each element without getting too verbose. Here's what I came out
@bash  @sorting  @tips 
march 2015 by caochauvu
dominictarr/JSON.sh
yo, so it's a json parser written in bash pipe json to it, and it traverses the json objects and prints out the path to the current object (as a JSON array) and then the object, without whitespace. $…
@json  @bash  @command_line  @tools 
february 2015 by caochauvu
ShellCheck – Online shell script analyzer
ShellCheck is a free, online tool that detects problems and suggests improvements to shell scripts.
@bash  @tools 
november 2014 by caochauvu

Copy this bookmark:





to read