in reply to Re: Colorapt for Ubuntu/Debian
in thread Colorapt for Ubuntu/Debian

When I try that, I get "Unrecognized escape \s passed through at ./get.pl line 36."

Replies are listed 'Best First'.
Re^3: Colorapt for Ubuntu/Debian
by soonix (Chancellor) on Aug 02, 2015 at 07:11 UTC
    AFAIK, \s has been introduced around version 5.10, so it might help if you could upgrade your perl (or, if it's the "system perl", use a mechanism like perlbrew…)
    Big Oops! Sorry, apparently I was not yet awake enough when I wrote this

      HUMBUG!

      $ perl4.036 -Ilib -w -le '$_="abc de f";s/\s+//g;print' abcdef

      It is just that \s is not allowed in the replacement part. What would you expect?


      Enjoy, Have FUN! H.Merijn