To stop seeing them::set list
And if you need to add in a tab, type control-v first and then the tab.:set nolist
(To grep for tab)
Mostly Linux & Python syntax notes and hyperlinks.
To stop seeing them::set list
And if you need to add in a tab, type control-v first and then the tab.:set nolist
# Number of lines in file
LC=$(wc -l $DIRNAME/$FILENAME | awk '{print $1}')
if (("$LC" > 0))
then
nonempty file steps
else
empty file steps
fi
if [ ... ]; then
if [[ -f "$DIRNAME/${FILENAME}.txt" ]]
then
...
OK, so I'm finding references toif (test -d $1)being the same as
if [-d $1]and to the use of "-eq" for comparing integers, as in
if [$# -eq 3]And if you use double square brackets, you avoid triggering an error if your variable is unset.