Public bug reported:

Binary package hint: gnome-terminal

I am unable to drag a file into a running script because the terminal
creates single quotes around the filename automatically, which causes an
error in the script. The test script is

#!/bin/bash -x
echo 'paste the md5sum from the source website here:'
read SHOULD
echo 'type path to file here:'
read NAME
if [ "$SHOULD" = `openssl dgst -md5 < "$NAME"` ]; then
echo 'verified'
else
echo 'verify failed!'
fi

which works when I type the full path (without ~) but fails when I drag
the file to the terminal because of the automatically created quotes. I
posted this in Launchpad, but nobody has answered so far. I may
eventually figure out a solution, but it is a totally unnecessary
complication (I could not find anything in gconf-editor or anywhere else
to change the behaviour of the terminal).

ProblemType: Bug
Architecture: i386
Date: Thu Feb 18 00:38:54 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: fglrx
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-20-generic i686

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
terminal creates single quotes automatically
https://bugs.launchpad.net/bugs/523537
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to