On Wed, Jun 16, 2010 at 07:47:03PM +0200, Krzysztof ??elechowski wrote:
> The description of the read builtin [19] would benefit of the following note:
> Warning: A pipeline of the form { echo 1 2 | read a b; } is not useful. Use
> {
> read<<<"1 2" a b; } instead.
That kind of advice is certain
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.0 -
L/usr/src/packages/BUILD/bash-4.0/../readline-6.0
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -
DCONF_OSTYPE='linux-gnu' -DCONF_MAC
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
>
> My way:
>>>
>>>
>> I wrote a compgen function for cd and it behaves like this: when you type
>> `cd .' on the command line and then press TAB, the command line
>> becomes
>> `cd ../../../../', then you can continue editing it to be `cd
>> ../../../../other-dir/' and press ENTER.
>>
>>
> I'
On 06/16/2010 01:04 PM, Clark J. Wang wrote:
On Sun, Jun 13, 2010 at 7:46 PM, Peng Yu wrote:
Hello,
I frequently need do cd multiple levels up. For example,
cd ../..
cd ../../../../
It would be convenient to type something like "cd 2" or "cd 4". Is
there a command for this?
--
Regards,
On Sun, Jun 13, 2010 at 7:46 PM, Peng Yu wrote:
> Hello,
>
> I frequently need do cd multiple levels up. For example,
>
> cd ../..
> cd ../../../../
>
> It would be convenient to type something like "cd 2" or "cd 4". Is
> there a command for this?
>
> --
> Regards,
> Peng
>
> My way:
I wrote a c