something is off somewhere
Code:
#!/bin/sh
X='dialog --backtitle "Video Reel Game Image Copy" --stdout --nocancel --title "Select File" --fselect /tmp 14 48'
echo $X
appears to be correct however it fails utterly. I'm not seeing anything wrong with the code in the string.
Vi is giving me this though:
X='dialog --backtitle "Video Reel Game Image Copy" --stdout --nocancel --title "Select File" --fselect /tmp 14 48'
Whereas vi with just the dialog gives:
dialog--backtitle"Video Reel Game Image Copy"--stdout --nocancel --title"Select File"--fselect/tmp 14 48
For some reason its not liking being a string variable...If its just run by itself its fine but doesn't like it otherwise. The former will run but doesn't do a display and thus doesn't get a variable. The latter runs like display should but doesn't get a variable. I've tweeked it various ways and went looking at strings and I am utterly confused as to why its not accepting the display as a variable string
__________________
Gentoo Developer, and 64bit os user
"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.