Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread Thomas Schmitt
Hi, if spaces are involved, then quotation marks hould be put around the argument of "echo". Using the leading blank from David Wright's post: $ fname=" long file with spaces.mp4" $ x=`echo $fname | rev | cut -d. -f2 | rev` $ test "$x".mp4 = "$fname" && echo IS EQUAL $ I.e. "$x".mp4 and

Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread David Wright
On Sat 02 Mar 2019 at 21:48:26 (-0500), deb wrote: > On 3/2/19 8:07 PM, Roberto C. Sánchez wrote: > > On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: > > > This has to be simple and I'm just missing it. > > > > > > If I pull a filename from a temp file into a variable, I can ls it >

re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread der.hans
Am 02. Mar, 2019 schwätzte deb so: moin moin, rather than the double-reverse, try the truncate operator. basename=${fname%.*} $ ( fname=fred.mp4; echo ${fname%.*} ) fred $ ( fname=fred.georg.mp4; echo ${fname%.*} ) fred.georg $ ( fname=fred.txt; echo ${fname%.*} ) fred $ ( fname=fred; echo ${f

re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread deb
On 3/2/19 8:07 PM, Roberto C. Sánchez wrote: On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: This has to be simple and I'm just missing it. If I pull a filename from a temp file into a variable, I can ls it fine. If I cut off the extension, and tack on my own SAME EXT, ls no

Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread Roberto C . Sánchez
On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: >This has to be simple and I'm just missing it. > >If I pull a filename from a temp file into a variable, I can ls it fine. > >If I cut off the extension, and tack on my own SAME EXT, ls no longer >works. > >(The actual scr

Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread deb
This has to be simple and I'm just missing it. If I pull a filename from a temp file into a variable, I can *ls* it fine. If I cut off the extension, and tack on my own SAME EXT, *ls* no longer works. (The actual script is more elaborate, loading *vlc* , etc -- but this summarizes & shows m

Re: Debian specific tools/apps

2019-03-02 Thread Josef Bailey
I know how to use Linux, why would I man a tool I know nothing about . I need the tool/app first before I man it. I’m asking for Debian specific tools I need to know. > On Mar 2, 2019, at 9:17 AM, Andy Smith wrote: > >> On Sat, Mar 02, 2019 at 05:14:25PM +, Andy Smith wrote: >> Having a re

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
Josef, On Sat, Mar 02, 2019 at 02:42:19PM -0800, Josef Bailey wrote: > I know how to use Linux, why would I man a tool I know nothing about . I need > the tool/app first before I man it. I’m asking for Debian specific tools I > need to know. The documentations I pointed you to are specific to D

Re: Failed to sign email. Thunderbird or enigmail bug?

2019-03-02 Thread riveravaldez
> I want to report it as a bug. How should i report it as a thunderbird or > enigmail bug? Have you checked upstream on Thunderbird [1,2,3] and Enigmail [4,5] sites/communities? [1] https://www.thunderbird.net/en-US/ [2] https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird [3] https://sup

need help to report a bug : In which module is it present . The kernel ?

2019-03-02 Thread Luc
Hi, I am a Debian user for at least 12 years and I love it. 1- Since I use Debian to run my flight simulator  I had problems with the Saitek rudder pedals. When I come back from a suspend I have to unplug and replug this rudder pedal device for it to work. 2- Now since the 2  last kernel upd

Re: Debian 10 grub error: no such device

2019-03-02 Thread Pascal Hambourg
Le 02/03/2019 à 15:35, Igor Kovalchuk a écrit : This week, on 26 Feb I did apt-get upgrade and apt-get dist-upgrade then it displayed me a blue window with a prompt to install grub, because it can't find it. I pressed 'cancel', because I was a bit wonder. My previous successful upgrade was 8 Jan

Re: please help with "no Wacom support" in debian Buster

2019-03-02 Thread Brad Rogers
On Sat, 2 Mar 2019 16:59:42 + (UTC) michael wrote: Hello michael, >resupported sometime during Debian Gnu Linux Buster/SID Development? Is >it a bug? Or has Wacom support been abondened altogether? Support exists. Do you have any of the relevant wacom packages installed? Most notably; xs

Failed to sign email. Thunderbird or enigmail bug?

2019-03-02 Thread GP
Hi. Im running buster (testing) and im trying to send signed email. My keys are on my yubikey. I get the following error message "Sending of the message failed. You specified that this message should be digitally signed, but the application either failed to find the signing certificate specified

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
On Sat, Mar 02, 2019 at 05:14:25PM +, Andy Smith wrote: > Having a read through the release notes at: > > https://www.debian.org/releases/stable/amd64/release-notes/ > > is often worthwile even for those more familiar with Debian. Oh, and The Debian Administrator's Handbook is a great fr

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
Hi Josef, On Fri, Mar 01, 2019 at 10:40:19PM -0800, Josef Bailey wrote: > Is there anything else I should know that can help me find answers quick and > help me maintain my system Having a read through the release notes at: https://www.debian.org/releases/stable/amd64/release-notes/ is oft

Re: Debian specific tools/apps

2019-03-02 Thread Default User
On Sat, Mar 2, 2019, 09:18 Peter Ehlert wrote: > https://wiki.debian.org/ > > On 3/1/19 10:40 PM, Josef Bailey wrote: > > Hello I’m new to Debian and wanted to know what are some good Debian > specific tools/apps I should know so I don’t write emails like this. > > > > I know of > > 1. Dpkg > > 2

Debian 10 grub error: no such device

2019-03-02 Thread Igor Kovalchuk
Hello! This week, on 26 Feb I did apt-get upgrade and apt-get dist-upgrade then it displayed me a blue window with a prompt to install grub, because it can't find it. I pressed 'cancel', because I was a bit wonder. My previous successful upgrade was 8 Jan 2019. Is this a known issue? Why it doesn

Re: Debian specific tools/apps

2019-03-02 Thread Peter Ehlert
https://wiki.debian.org/ On 3/1/19 10:40 PM, Josef Bailey wrote: Hello I’m new to Debian and wanted to know what are some good Debian specific tools/apps I should know so I don’t write emails like this. I know of 1. Dpkg 2. Apt-file 3. Apt 4. Aptitude 5. I know how to use backports for stable

Re: roundcube installer web helper problem

2019-03-02 Thread Steve Kemp
> when click create config button there is no text in the code box and > says cannot write config file which is writable by the www-data and the > temp and log directories are OK to write to according to installer web > page. Probably www-data doesn't have permission to write to the *parent*

Re: roundcube installer web helper problem

2019-03-02 Thread mick crane
well OK I found another copy of the file and those lines are the same so I guess it is something it refers to. -- Key ID4BFEBB31

roundcube installer web helper problem

2019-03-02 Thread mick crane
Hello, I'm having a bit of bother configuring roundcube on buster I've installed roundcube before from sources and has been ok for a few years but now is something a bit wrong so I install with apt. on the installer web page step 2 there is the message "Warning: A non-numeric value encountered

Re: systemctl reboot fails (doesn't reboot)

2019-03-02 Thread tomas
On Sat, Mar 02, 2019 at 02:03:38AM +0100, deloptes wrote: > riveravaldez wrote: > > > Hi, I'm on debian-testing (updated), and found this issue: > > > > $ systemctl reboot > > At this point it is advisable to read some linux basics ... I think there > are also videos in youtube - just like takin

Re: systemctl reboot fails (doesn't reboot)

2019-03-02 Thread tomas
On Fri, Mar 01, 2019 at 06:38:33PM -0300, riveravaldez wrote: > Hi, I'm on debian-testing (updated), and found this issue: I have very little experience with systemd, but... > $ systemctl reboot > Failed to set wall message, ignoring: The name > org.freedesktop.PolicyKit1 was not provided by any