[CALUG] offsite for file access

Jim Cottrell jecottrell3 at comcast.net
Mon Aug 12 12:07:11 EDT 2019


STOP using Backticks!

GOOD: var=$(command args...)

BAD: var=`command args...`

At the Very Least, you won't have to explain what kind of Quotes you are 
using.

JIM

On 8/8/19 1:08 PM, Howard Bampton wrote:
> 1) Save message to a scratch file
> 2) egrep '(http:|https:)' /path/to/scratchfile > /path/to/newfile
> 3) wget `cat /path/to/newfile`
>
> The single quote marks in step 3 are back tics (`), not normal single 
> quotes (') [aka not the quote on the same key as the double quote key]



More information about the CALUG mailing list