on older solaris 2.6 7 8 9 10 the grep command is from solaris and ggrep is the gnu version.
adding support for first chekcing if ggrep gawk or so is presnt woudl be great.
-bash-4.4# bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
Cloning Oh My Bash...
$ git clone --depth=1 https://github.com/ohmybash/oh-my-bash.git //.oh-my-bash
Cloning into '//.oh-my-bash'...
remote: Enumerating objects: 528, done.
remote: Counting objects: 100% (528/528), done.
remote: Compressing objects: 100% (485/485), done.
remote: Total 528 (delta 30), reused 394 (delta 29), pack-reused 0 (from 0)
Receiving objects: 100% (528/528), 4.28 MiB | 192.00 KiB/s, done.
Resolving deltas: 100% (30/30), done.
Updating files: 100% (391/391), done.
Looking for an existing bash config...
Copying the Oh-My-Bash template file to ~/.bashrc
$ mv -f //.bashrc.omb-temp //.bashrc
$ cp -f //.oh-my-bash/templates/bash_profile.osh-template //.bash_profile
__ __ __
____ / /_ ____ ___ __ __ / /_ ____ / /
/ __ / __ \ / __ __ \/ / / / / __ \/ __ / / __
/ // / / / / / / / / / / // / / // / // ( ) / / /
_// // // // //_, / /./_,/// //
/___/ .... is now installed!
Please look over the ~/.bashrc file to select a theme, plugins, completions, aliases, and options
To keep up on the latest news and updates, follow us on GitHub: https://github.com/ohmybash/oh-my-bash
bash: %s: syntax error: operand expected (error token is "%s")
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
on older solaris 2.6 7 8 9 10 the grep command is from solaris and ggrep is the gnu version.
adding support for first chekcing if ggrep gawk or so is presnt woudl be great.
-bash-4.4# bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
Cloning Oh My Bash...
$ git clone --depth=1 https://github.com/ohmybash/oh-my-bash.git //.oh-my-bash
Cloning into '//.oh-my-bash'...
remote: Enumerating objects: 528, done.
remote: Counting objects: 100% (528/528), done.
remote: Compressing objects: 100% (485/485), done.
remote: Total 528 (delta 30), reused 394 (delta 29), pack-reused 0 (from 0)
Receiving objects: 100% (528/528), 4.28 MiB | 192.00 KiB/s, done.
Resolving deltas: 100% (30/30), done.
Updating files: 100% (391/391), done.
Looking for an existing bash config...
Copying the Oh-My-Bash template file to ~/.bashrc
$ mv -f //.bashrc.omb-temp //.bashrc
$ cp -f //.oh-my-bash/templates/bash_profile.osh-template //.bash_profile
__ __ __
____ / /_ ____ ___ __ __ / /_ ____ / /
/ __ / __ \ / __
__ \/ / / / / __ \/ __/ / __/ // / / / / / / / / / / // / / // / // ( ) / / /
_// // // // //_, / /./_,/// //
/___/ .... is now installed!
Please look over the ~/.bashrc file to select a theme, plugins, completions, aliases, and options
To keep up on the latest news and updates, follow us on GitHub: https://github.com/ohmybash/oh-my-bash
bash: %s: syntax error: operand expected (error token is "%s")
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .