Search Results

Search: Posts Made By: mdijoux25
Forum: Ubuntu 02-26-2015
7,491
Posted By Scrutinizer
That looks a bit garbled, this should be: [ !...
That looks a bit garbled, this should be:
[ ! -z "$PS1" ]
Note the spaces around the brackets...

which is equivalent to
[ -n "$PS1" ]
or
[ "$PS1" ]
But the logical counterpart of [ ! -t 0 ]...
Forum: Ubuntu 02-25-2015
7,491
Posted By Scrutinizer
In addition to suggested checkscript the script,...
In addition to suggested checkscript the script, there are a couple more in the original script:
grep -En '==|\[\[|\[[0-9@]\]|=\(|\$\[|=~' script
80: if [ ! "x$curl" == "x" ];then
118: if [...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy