Mercurial > ec-dotfiles
comparison bash @ 96:26c9dc482051
Merge. Linux obviously has gnu grep.
author | Edho Prima Arief <edho@myconan.net> |
---|---|
date | Wed, 13 Jul 2011 13:29:37 +0700 |
parents | f993714efa7b |
children | a1c6b40a535f |
comparison
equal
deleted
inserted
replaced
91:e17886c8da43 | 96:26c9dc482051 |
---|---|
23 _has_gnu_grep= | 23 _has_gnu_grep= |
24 case "$(uname -s)" in | 24 case "$(uname -s)" in |
25 Linux) | 25 Linux) |
26 _has_rm_I=y | 26 _has_rm_I=y |
27 _has_gnu_ls=y | 27 _has_gnu_ls=y |
28 _has_gnu_grep=y | |
28 ;; | 29 ;; |
29 SunOS) | 30 SunOS) |
30 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y | 31 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y |
31 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y | 32 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y |
32 [ -x /usr/gnu/bin/grep ] && _has_gnu_grep=y | 33 [ -x /usr/gnu/bin/grep ] && _has_gnu_grep=y |