et/clamshell — comment on commit 37274ea0f5463edc46c33b70bb87b53570770654
File:  line 0
By ecki:

The `ps` command above will fail at least on FreeBSD where it is the 5th column:

# ps -p $$
PID TT STAT TIME COMMAND
91135 p7 S 0:00.05 /usr/local/bin/bash

I am not really shure in which context you can use such a construct to actually determine the shell (what shell is /bin/sh on Solaris?). So even using $SHELL will not really work well. Maybe the tool should inspect the environment itself, so it can implement some heuristics to find the correct shell?