[Vserver] Completion for vserver

2006-01-20 Thread Thomas Champagne
Hi To learn bash, I decided to create the completion for vserver's commands. So, I send you the first release here because I don't know where I can post it.This release support only the command "vserver". For test it, push the source in your .bashrc or put it in the file /etc/bash_completion.d/vser

Re: [Vserver] Completion for vserver

2006-01-23 Thread Thomas Champagne
20, 2006 at 05:04:52PM +0100, Thomas Champagne wrote:> Hi>> To learn bash, I decided to create the completion for vserver's> commands.great!> So, I send you the first release here because I don't know > where I can post it.that's the right place, and if you can, i

Re: [Vserver] Completion for vserver

2006-02-06 Thread Thomas Champagne
uld be always the case on running hosts).rdds,AndreasP.S. You can replace the awk stuff by bash's internal regex handling.This was like ... eh ... ${i/foo/bar},  ${i/foo#bar} and such. Too busyto look it up now ... Thomas Champagne wrote:> Hi Andreas>> To test if the util-vserver com

[Vserver] Delete method for vserver command

2006-02-09 Thread Thomas Champagne
HiI added a delete method to the vserver command. To test it, patch the script vserver with this diff.@@ -43,6 +43,7 @@ restart ... restarts the specified vserver; this is the subsequent execution of a synchronized 'stop' and a 'start' condrestart ... restarts the v