The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.02
seconds.
Search:
Posts Made By:
mdijoux25
Forum:
Ubuntu
02-26-2015
6
Convert a bash to ash
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
6
Convert a bash to ash
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
Member Badges and Information Modal
×