Software Replacement on Trisquel

6 risposte [Ultimo contenuto]
fervi
Offline
Iscritto: 12/31/2014

Welcome!

I'm thinking about:
1) Unar - a program to unpacking of files; A fully open source, but it is not supplied with the Trisquel default; I think it is worth mentioning in version 8 (I know that in a year and a half, but ...)

2) Replacing Shumway Gnash; Shumway is a project from Mozilla to replace Flash Player is growing fast - you may need to think about replacing Gnash by Shumway - What do you think?

Fervi

onpon4
Offline
Iscritto: 05/30/2012

Unar is great for extracting RAR files, but I don't think including it by default would be particularly helpful, because graphical archive managers don't seem to be able to use it. Besides, RAR files are rare these days.

onpon4
Offline
Iscritto: 05/30/2012

Hm, I should research more. Supposedly, File-Roller does include support for unar.

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

i use unar because of the subs that come often with that format and if i try any file with two or more words, try to unar it - nothing! i have to rename every file to be a single word and i just name it a.rar , b.rar ...
and then it works..
weeeird

onpon4
Offline
Iscritto: 05/30/2012

You need to escape spaces with a backslash or it'll be interpreted as several arguments. For example:

unar My\ file\ that\ has\ spaces.rar

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

had no idea that i needed to type it like that
thx

marioxcc
Offline
Iscritto: 08/13/2014

The shell (GNU Bash or similar) breaks the command line into arguments on unquoted spaces. To quote, you can use the backslash to quote a single character, or surround the whole string between single or double quotes.

E.g:

rm filename\ with\ spaces
rm "filename with spaces"
rm 'filename with spaces'

Double quotes don't prevent expansion, while single quotes do. So that if you have a filename like “$hello”, then you need to use single quotes or a backslash before ‘$’.

For example, the following remove the file called “$hello”:

rm "\$hello"
rm '$hello'

While the following removes the file whose name is stored in the variable “hello”:

rm "$hello"

For more details consult the Bash manual or <http://mywiki.wooledge.org/Arguments>.