Active Topics

 

Showing results 1 to 6 of 6 @ 0.00 seconds. Search: Posts Made By: fgevaerts
Forum: Maemo 5 / Fremantle 2011-01-04, 17:14
Replies: 16
Views: 23,282
Posted By fgevaerts
Re: Can't cd in bash script

One way would be
tr -d '\015' < yourfile.sh > yournewfile.sh

(\015 means "octal 13", which is the CR or \r character)

Or use an editor that can control this. I can't really recommend one...
Forum: Maemo 5 / Fremantle 2011-01-04, 16:02
Replies: 16
Views: 23,282
Posted By fgevaerts
Re: Can't cd in bash script

It wouldn't say "can't cd to /whatever/directory" then.

FRuMMaGe: Can you run "od -c yourscript.sh", and check that there are indeed only \n characters for line ending, and no \r?

The "can't...
Forum: Maemo 5 / Fremantle 2011-01-04, 15:14
Replies: 16
Views: 23,282
Posted By fgevaerts
Re: Can't cd in bash script

Are line endings in the script correct? If you created the script on windows, chances are lines end on CR-LF instead of LF only, and the shell will include that CR character at the end of the command...
Forum: Games 2010-07-22, 22:29
Replies: 207
Views: 86,956
Posted By fgevaerts
Re: how to buy the new levels of angry bird

It doesn't. It has the first 21 levels, not the rest.
Forum: General 2010-02-26, 14:12
Replies: 92
Views: 23,455
Posted By fgevaerts
Re: Ovi-Store re-opened for paid content?

What worries me most about this new system of handling paid apps is that I can't see how it can handle updates. Am I missing something?
Forum: Games 2010-02-14, 13:28
Replies: 140
Views: 73,610
Posted By fgevaerts
Re: Wesnoth for N900?

Or tell apt-get to put its cache elsewhere
Showing results 1 to 6 of 6



 
Forum Jump

All times are GMT. The time now is 08:15.