On Tue, 14 Apr 2009 18:24:23 +0000, Ville Skyttä wrote:

> @@ -884,8 +885,14 @@ _mount()
>                                | grep "^$cur" ) )
>       else
>               # probably Linux
> -             COMPREPLY=( $( awk '! /^[ \t]*#/ {if ($2 ~ /\//) print $2}' \
> +             if [ $prev = -L ]; then
>                       [..]
> +             elif [ $prev = -U ]; then
> +                     [..]
> +             else
> +                     [..]
> +             fi

Why not case..esac? :)

David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to