Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. $ for s in bash /bin/bash; do
  2. for b in compopt help; do
  3. "$s" -c 'echo "$1" is $([[ $(type $1 2>/dev/null) =~ builtin ]] || echo not) a builtin in "$BASH_VERSION"' _ $b;
  4. done;
  5. done
  6. compopt is a builtin in 5.0.7(1)-release
  7. help is a builtin in 5.0.7(1)-release
  8. compopt is not a builtin in 3.2.57(1)-release
  9. help is a builtin in 3.2.57(1)-release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement