Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[bash-completion] Trovato Baco
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
quantumwire
Guru
Guru


Joined: 15 Oct 2003
Posts: 403
Location: Lausanne

PostPosted: Sat Feb 19, 2005 5:21 pm    Post subject: [bash-completion] Trovato Baco Reply with quote

Usando il meraviglioso tasto TAB nei casi che ora evidenziero' il bash-completion sballa:
(tutti i casi hanno a che fare con comandi LVM2)

CASO1: scrivete "pvdisplay" e poi date due botte di TAB - ("$ pvdisplay" + TAB + TAB)
Code:
[root@sigaro root]# pvdisplay /dev/awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                       ^ syntax error
awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                        ^ unterminated regexp
awk: cmd. line:2: (END OF FILE)
awk: cmd. line:2: syntax error


CASO2: srivete "pvdisplay /de" e poi date una botta di TAB - ("$ pvdisplay /de" + TAB)
Code:
[root@sigaro root]# pvdisplay /deawk: cmd. line:1: /PV/ {if ($2 ~ /^/de/) print $2}
awk: cmd. line:1:                      ^ syntax error


CASO3: idem caso 1 ma con pvcreate - ("$ pvcreate" + TAB + TAB)
Code:
[root@sigaro root]# pvcreate /dev/awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                       ^ syntax error
awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                        ^ unterminated regexp
awk: cmd. line:2: (END OF FILE)
awk: cmd. line:2: syntax error


CASO4 scrivete "lvcreate" e poi date tre botte di TAB - ("$ lvcreate" + TAB +TAB +TAB)
Code:
[root@sigaro root]# lvcreate vg /dev/awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                       ^ syntax error
awk: cmd. line:1: /PV/ {if ($2 ~ /^/dev//) print $2}
awk: cmd. line:1:                        ^ unterminated regexp
awk: cmd. line:2: (END OF FILE)
awk: cmd. line:2: syntax error


Ok... potrei riprodurne altri ma a quanto pare il baco sembra essere lo stesso in tutti i casi.

PS: Forse non e' un baco dato che la bash-completion potrebbe non prevedere il completamento dei comandi LVM2.
_________________
HOWTO 1: Spegnere il laptop!
HOWTO 2: Comprimere i DVDs!


Last edited by quantumwire on Mon Feb 21, 2005 1:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 19, 2005 5:24 pm    Post subject: Reply with quote

Devi creare un bug report su bugs.gentoo.org.

Prima controlla se c'è ne già uno.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
quantumwire
Guru
Guru


Joined: 15 Oct 2003
Posts: 403
Location: Lausanne

PostPosted: Mon Feb 21, 2005 2:04 pm    Post subject: Reply with quote

Fatto.
_________________
HOWTO 1: Spegnere il laptop!
HOWTO 2: Comprimere i DVDs!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum