Programming and Scripting :: variable help in bash
How would I make a variable equal to a chain of commands in a bash script? I made a rather lengthy bash script but would like to shorten it up by somehow making a variable equal to a chain of commands that repeats itself numerous times in my script. Here's one of the few chain of commands I'm talking about: