Re: Single argument for mv cp

2007-06-17 Thread Jason McIntyre
On Sun, Jun 17, 2007 at 01:14:55AM +0200, Hannah Schroeter wrote: You mean $ cp test{,.bak} See Brace expansion in the ksh(1) manual page. (Note, it's not in sh(1)! After testing I see brace expansion is not described in the sh manual page, but if I invoke sh and type echo a{,b}, the

Re: Single argument for mv cp

2007-06-16 Thread Hannah Schroeter
Hello! On Sat, Jun 16, 2007 at 04:17:42PM -0700, Clint Pachl wrote: The other day on the Internet I found a shell tip that showed how to use cp or mv with only a single argument. I tried it in the default pdksh in OBSD and it worked. I thought to myself, I can't believe I have been using the

Re: Single argument for mv cp

2007-06-16 Thread Andreas Kahari
On 17/06/07, Clint Pachl [EMAIL PROTECTED] wrote: The other day on the Internet I found a shell tip that showed how to use cp or mv with only a single argument. I tried it in the default pdksh in OBSD and it worked. I thought to myself, I can't believe I have been using the shell for over 8