Re: [dev] [sic] [PATCH] Treat non-option arguments as commands

2014-09-30 Thread Eric Pruitt
On Tue, Sep 30, 2014 at 10:29:26PM +0200, Truls Becken wrote: > This should do what you want. The latter example depends on a shell extension, > but process substitution is such a nice idea it should be in all shells, IMHO. I think that still has the same problem mentioned in my other email: the r

Re: [dev] [sic] [PATCH] Treat non-option arguments as commands

2014-09-30 Thread Truls Becken
Hi, Did you try something like: cat ~/.sicrc - | sic or cat <(echo ":j #suckless") - | sic This should do what you want. The latter example depends on a shell extension, but process substitution is such a nice idea it should be in all shells, IMHO. -Truls

[dev] [sic] [PATCH] Treat non-option arguments as commands

2014-09-29 Thread Eric Pruitt
--- sic.1 |3 +++ sic.c | 24 +--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/sic.1 b/sic.1 index aba8db8..bf72026 100644 --- a/sic.1 +++ b/sic.1 @@ -12,6 +12,7 @@ sic \- simple irc client .RB [ \-k .IR pass ] .RB [ \-v ] +.RB [ commands... ] .SH