bdodd> The GNU shtool package has a `move' command that does just what you
bdodd> want:
bdodd>
bdodd>   http://www.gnu.org/software/shtool/
bdodd>
bdodd> Example use:
bdodd>
bdodd>   shtool move -e *.z %1.Z

Sorry to followup to my own post, but my example has a bug. You don't
want your interactive shell to expand the *.z. So, it should be:

  shtool move -e "*.z" %1.Z


If you do get the shtool package, here's a fun shell function to add
to your shell's (sh/ksh/bash) startup file:

function copy()
{
  cat $1 | tee $2 | shtool prop -p "Copying"
}

(more robust arg checking left as an exercise for the reader ;-)

Cheers,
-bill
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to