Re: new features to GNU Bash

2010-06-16 Thread Chet Ramey
On 6/14/10 6:45 AM, mika.p.maki...@webinfo.fi wrote: > Hello, > I suppose I have found a new feature to Bash. > If user needs to rename a file and the file is in directory > /home/user/a/b/c/d/e/file, > user needs to write command mv /home/user/a/b/c/d/e/file > /home/user/a/b/c/d/e/fileB. > Th

Re: new features to GNU Bash

2010-06-14 Thread Andreas Schwab
mika.p.maki...@webinfo.fi writes: > user needs to write command mv /home/user/a/b/c/d/e/file > /home/user/a/b/c/d/e/fileB. $ mv /home/user/a/b/c/d/e/{file,fileB} Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now

Re: new features to GNU Bash

2010-06-14 Thread mika . p . makinen
Hello, I suppose I have found a new feature to Bash. If user needs to rename a file and the file is in directory /home/user/a/b/c/d/e/file, user needs to write command mv /home/user/a/b/c/d/e/file /home/user/a/b/c/d/e/fileB. This command contains the directory written two times. so if Bash wou