Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Fix for wordview xls2html and pptview, filenames with spaces now work< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: April 18 2005,19:34 QUOTE

Roberts -

I totally understand your point of view and wouldn't want you to take time to edit DSL to accomodate the spaces in the filenames.

To me, in the case of these three scripts it's a necessary evil. You wouldn't even need these scripts if you weren't receiving a file from someone using M$ Office (Or I guess OpenOffice or Abiword) so you will receive the files in the formats that M$ supports. My vote is that we let it slide here but any other instances require tying up the offending individual and throwing them overboard!  AAARRRRR!!!!!

Chris
Back to top
Profile PM MSN YIM 
Caspar_s Offline





Group: Members
Posts: 105
Joined: Jan. 2005
Posted: April 18 2005,20:41 QUOTE

Heres me being my libra self... I see Roberts point and I see Clivesay's... Unix doesn't support spaces... but these are utilities that let you see stuff that isn't from  'nix.  How about adding in something that says "Take out the spaces you windows n00b"  or something :;):
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: April 18 2005,21:50 QUOTE

:D
Back to top
Profile PM MSN YIM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 18 2005,22:36 QUOTE

My opinion is this:

Rewriting everything in the distro to accept filenames with spaces is counterproductive.

However, in this situation we are dealing with a problem caused by "helpful" Microsoft tools.  For example, If I create a MSWord document with the first line of the document being a title like "How to Fish" and then push the Save button, MSOffice will automatically save the file as "How to Fish.doc".  This is why spaces are so prevalent in these documents.  I imagine that this is also true for XLS and PPT docs but I am not sure.

Since the purpose of these scripts is to view/convert Microsoft Office docuements, I think that it is reasonable for them to handle the filenames with spaces because otherwise a large percentage of the documents that are fed into the script will fail the script.

To give a similar example, recently a topic was discussed about how to use emelfm / scripts to transcode an *.mp3 file into a new file with a different bitrate.  Some nice ideas were proposed on how to accomplish this.  One of my suggestions was to make sure that the script can handle filenames with spaces. Why?  Because many audio CD to mp3 ripper programs will automatically tag the mp3 filename with the songname that is pulled down from an Internet database and these song names contain spaces in them.

So I think that it is appropriate in this case, but let it not become a slippery slope for the rest of the distro.  This is a linux distro, not a windows os, so we have to draw the line somewhere.

FYI, if you want a chuckle, read up on some of the problems that win32 developers have.  Many of their programs ALSO have problems with spaces for the very same reason but they have no choice if they wish to use it as their target platform.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 19 2005,06:05 QUOTE

OK. Because these three scripts are made to view/convert MS style documents, I will accept the space mods.
Back to top
Profile PM WEB 
9 replies since April 18 2005,03:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Fix for wordview xls2html and pptview

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code