terminal creates single quotes automatically

Bug #523537 reported by nokangaroo on 2010-02-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Invalid
Medium
gnome-terminal (Ubuntu)
Low
Unassigned

Bug Description

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

Dave Walker (dogatemycomputer) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Changed in gnome-terminal (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.