On Mon, Oct 19, 2009 at 6:08 AM, Chet Ramey chet.ra...@case.edu wrote:
Sitaram Chamarty wrote:
Hello,
When the previous command was backgrounded (say gvim
filename.c ) and then you try some other command using
Alt-., it expands to and not filename.c.
Is this considered a bug? Or correct
On 19 Okt., 02:56, Chet Ramey chet.ra...@case.edu wrote:
Second, there are a couple of problems with Posix and this construct.
You can make an argument that Posix doesn't apply, since it only
calls for parameter expansion on the value of PS1, and that does not
include command substitution.
Sitaram Chamarty wrote:
Chet Ramey wrote:
Sitaram Chamarty wrote:
When the previous command was backgrounded (say gvim
filename.c ) and then you try some other command using
Alt-., it expands to and not filename.c.
Is this considered a bug? Or correct behaviour that just
happens
Timothy James Erlenmeyer wrote:
Configuration Information [Automatically generated, do not
change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation
CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu'
-DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
On Tue, Oct 20, 2009 at 2:22 AM, Bob Proulx b...@proulx.com wrote:
Certainly yank-last-arg (M-.,M-_) is useful but don't forget about
yank-nth-arg (M-C-y) which yanks the first argument. Most of the time
that you are doing something like 'edit filename.c ' then you can use
the still quite
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'
The cp command will copy to a subdirectory without an appending /
mkdir test test2
touch abc test
touch bcd test2
cp -R test2 test
ls test
test2 abc
Since the cp command can also rename I think the proper behavior here
for 'cp -R test2 test' would be to error and print that 'Folder
already
Todd Partridge wrote:
The cp command will copy to a subdirectory without an appending /
You have reached bug-bash, not bug-coreutils. The 'cp' program is in
the GNU Coreutils project and so bug reports for 'cp' should go to
bug-coreut...@gnu.org and not to bug-bash. The bug-bash list is for