This is a bit of a long shot, but I'm going to ask anyway.
Kinda similar to what
When point is inside a
.txt file on a line like this
ls -la /tmp/
When point is at the beginning of that line, is there something like
shell-command-at-point where the shell command on that line is executed and the output is displayed in the echo area? The other way to do it is I guess to yank the line,
M-| paste RET.
I think Org mode has this feature
[[shell:ls -la /tmp/][example], but I'm looking for a general purpose solution.