#! /bin/sh ## Run like this: ## ## socat EXEC:./solution.sh EXEC:./revwords 3&2 enil=$(lrev $line) echo $enil done