3 ms·
Couldn't agree more. As a very occasional bash script user (who'll go with Python instead whenever possible) I sort of lost interest already at the first, banal
by interfixus 6y ago
Couldn't agree more.
As a very occasional bash script user (who'll go with Python instead whenever possible) I sort of lost interest already at the first, banale example:
>>if [ -r ~/.profile ]; then
>> source ~/.profile
>>fi
>>We can simplify this using control operators:
>>[ -r ~/.profile ] && . ~/.profile
I wonder which version I would prefer for readability three months down the road.