[Bug 1357715] Re: causes syntax error in expression for umount

2014-11-16 Thread TJ
** Changed in: bash-completion (Ubuntu)
 Assignee: TJ (tj) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1357715] Re: causes syntax error in expression for umount

2014-11-15 Thread Victor Passapera
** Changed in: bash-completion (Ubuntu)
   Status: In Progress => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/bash-completion/+question/257626

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1357715] Re: causes syntax error in expression for umount

2014-08-16 Thread Victor Passapera
--- /usr/share/bash-completion/completions/umount.linux
+++ /usr/share/bash-completion/completions/umount.linux
@@ -11,7 +11,7 @@
 # second round is required because compgen -W will helpfully expand it's
 # argument.
 local i wlist
-for i in ${!COMPREPLY[*]}; do
+for i in "${!COMPREPLY[@]}"; do
 local q=$(quote "$(printf %q "${COMPREPLY[$i]}")")
 wlist+=$q$'\n'
 done
@@ -40,6 +40,7 @@
 # and /proc/mounts.
 _linux_fstab()
 {
+local IFS=$' \t\n'
 COMPREPLY=()
 
 # Read and unescape values into COMPREPLY

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1357715] Re: causes syntax error in expression for umount

2014-08-16 Thread Victor Passapera
Patch that seems to somewhat fix it:

--- /usr/share/bash-completion/completions/umount.linux
+++ /usr/share/bash-completion/completions/umount.linux
@@ -11,7 +11,7 @@
 # second round is required because compgen -W will helpfully expand it's
 # argument.
 local i wlist
-for i in ${!COMPREPLY[*]}; do
+for i in "${!COMPREPLY[@]}"; do
 local q=$(quote "$(printf %q "${COMPREPLY[$i]}")")
 wlist+=$q$'\n'
 done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1357715] Re: causes syntax error in expression for umount

2014-08-16 Thread TJ
** Changed in: bash-completion (Ubuntu)
   Status: New => In Progress

** Changed in: bash-completion (Ubuntu)
 Assignee: (unassigned) => TJ (tj)

** Changed in: bash-completion (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1357715] Re: causes syntax error in expression for umount

2014-08-16 Thread Victor Passapera
https://gist.github.com/vpassapera/18c069166b2468c64dd3 (Has output
showing debug info for bash)

FSTAB contents:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda3 during installation
UUID=7614ad68-9608-488d-987e-81ec505ded5b /   ext4
errors=remount-ro 0   1
# /boot/efi was on /dev/sda1 during installation
UUID=5272-B0DE  /boot/efi   vfatdefaults0   1
# /home was on /dev/sda4 during installation
UUID=8cb93651-0a9c-4838-ac34-15ddaab47a23 /home ext4defaults
0   2
# swap was on /dev/sda2 during installation
#Disabled for cryptswap (will not show up on resources)
#UUID=716bb63a-b354-4295-b880-92db126c8c13 noneswapsw   
   0   0
/dev/mapper/cryptswap1 none swap sw 0 0
#LVM
/dev/HDDVolume/Backups  /home/LvBackups ext4defaults
0 2
/dev/HDDVolume/Downloads/home/LvDownloads   ext4defaults
0 2
/dev/HDDVolume/Videos   /home/LvVideos  ext4defaults
0 2
/dev/HDDVolume/Documents/home/LvDocuments   ext4defaults
0 2
/dev/HDDVolume/Development  /home/LvDevelopment ext4defaults
0 2
/dev/HDDVolume/Archives /home/LvArchivesext4defaults
0 2
/dev/HDDVolume/Pictures /home/LvPicturesext4defaults
1 2
/dev/HDDVolume/Music/home/LvMusic   ext4defaults
1 2
/dev/HDDVolume/Games/home/LvGames   ext4defaults
1 2
/dev/HDDVolume/Applications /home/LvApplicationsext4defaults
1 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715

Title:
  causes syntax error in expression for umount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs