10 lines
253 B
Bash
Executable File
10 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Assuming that urchin was invoked with `-s bash`, this script should be being run with bash.
|
|
|
|
this_shell=$(ps -o pid,comm | sed -n "s/^ *$$//p" | cut -d\ -f2)
|
|
|
|
echo "Running shell: $this_shell"
|
|
|
|
basename "$this_shell" | grep .special-shell
|