terminal creates single quotes automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Invalid
|
Medium
|
|||
gnome-terminal (Ubuntu) |
Invalid
|
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/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-20-generic i686
Changed in gnome-terminal (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Low |
Changed in gnome-terminal: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
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!