pipe inp s = inp >>= \x -> sh $ T.concat ["echo ", "\"", x, "\"", " | ", s]
DotHellRC.hs:37:33:
Couldn't match expected type `Data.Text.Lazy.Internal.Text'
with actual type `T.Text'
In the return type of a call of `T.concat'
In the second argument of `($)', namely