[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5926: feature request: mv -p to create missing target dir
From: |
Stefano Lattarini |
Subject: |
bug#5926: feature request: mv -p to create missing target dir |
Date: |
Mon, 26 Apr 2010 12:07:07 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; ) |
At Monday 26 April 2010, Jim Meyering <address@hidden> wrote:
> Using env is the most portable, at the expense
> of a fork (compared to bash's "command"):
>
> env mv "$@"
>
Generally, this is true. But Rodolfo was assuming bash as his shell
anyway, and in this case the use of well-estabilished bash
builtins/constructs (like "command", which was there since at least
bash 2.0) can IMHO help to increase portability. In fact, this way
one doesn't have to remember the limits/idiosyncracies of many
different shells and system utilities (and different versions thereof),
but only those of one shell, i.e. bash (and I think that anyone who's
read the section "Portable Shell Programming" in the autoconf manual
could be easily convinced that this is a great advantage).
Regards,
Stefano
- bug#5926: feature request: mv -p to create missing target dir, (continued)
- bug#5926: feature request: mv -p to create missing target dir, Rodolfo Borges, 2010/04/16
- bug#5926: feature request: mv -p to create missing target dir, Stefano Lattarini, 2010/04/26
- bug#5926: feature request: mv -p to create missing target dir, Rodolfo Borges, 2010/04/25
- bug#5926: feature request: mv -p to create missing target dir, Andreas Schwab, 2010/04/26
- bug#5926: feature request: mv -p to create missing target dir, Stefano Lattarini, 2010/04/26
- bug#5926: feature request: mv -p to create missing target dir, Jim Meyering, 2010/04/26
- bug#5926: feature request: mv -p to create missing target dir, Andreas Schwab, 2010/04/26
- bug#5926: feature request: mv -p to create missing target dir,
Stefano Lattarini <=