need something universal. Plus now also EOL conversion is
needed, which again doesn't seem to have an easy and portable
*nix command.
Here is a perl one-line that does the same thing from the command
line:
|perl -MFile::Copy -e 'move $_, lc($_) foreach glob "*"'|
|I'm not sure that darwin
Viktor Szakáts napsal(a):
Okay.
Is there a simple cmdline to convert filenames to lowercase,
which works on most *nix systems?
|
convmv --lower --notest *
or
|
|rename 'y/A-Z/a-z/' *|
|or script like
|
|#!/bin/bash
for filename in *
do
n=`echo $filename | tr '[:upper:]' '[:lower:]'`
Okay.
Is there a simple cmdline to convert filenames to lowercase,
which works on most *nix systems?
|
convmv --lower --notest *
or
|
|rename 'y/A-Z/a-z/' *|
|or script like
|
|#!/bin/bash
for filename in *
do
n=`echo $filename | tr '[:upper:]' '[:lower:]'`
mv $filename $n
done
|
T
Viktor Szakáts napsal(a):
Okay.
Is there a simple cmdline to convert filenames to lowercase,
which works on most *nix systems?
|
convmv --lower --notest *
or
|
|rename 'y/A-Z/a-z/' *|
|or script like
|
|#!/bin/bash
for filename in *
do
n=`echo $filename | tr '[:upper:]' '[:lower:
Yes, it's already committed.
Brgds,
Viktor
On Wed, Jun 10, 2009 at 9:56 AM, Alex Strickland wrote:
> Viktor Szakáts wrote:
>
>> k, found it.
>
> If you have a 5.3 dif, would you mind adding it?
>
> Regards
> Alex
> ___
> Harbour mailing list
> Harbour@h
Viktor Szakáts wrote:
k, found it.
If you have a 5.3 dif, would you mind adding it?
Regards
Alex
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
k, found it.
On Wed, Jun 10, 2009 at 9:21 AM, Viktor Szakáts wrote:
> Unless there is some input how to create a "simple" patch file which
> works on both *nix and non-*nix systems, also with the EOLs sorted
> out, I'll stop this very time consuming and frustrating subproject after
> spending too
Unless there is some input how to create a "simple" patch file which
works on both *nix and non-*nix systems, also with the EOLs sorted
out, I'll stop this very time consuming and frustrating subproject after
spending too many hours on it without any advance.
Problems:
- If I create .dif on win, *
Okay.
Is there a simple cmdline to convert filenames to lowercase,
which works on most *nix systems?
If there is I'd like to include it in readme.txt.
Brgds,
Viktor
On Wed, Jun 10, 2009 at 2:24 AM, Przemyslaw Czerpak wrote:
> On Wed, 10 Jun 2009, Szak�ts Viktor wrote:
>> I know, one of the majo
Przemyslaw Czerpak napsal(a):
On Wed, 10 Jun 2009, Szak�ts Viktor wrote:
I know, one of the major points of this patch is to
make DBU code use lower case names. However DBU sources
still come in uppercase from the vendor, as we're just
patching them :) Same situation with superlib, but
there
On Wed, 10 Jun 2009, Szak�ts Viktor wrote:
> I know, one of the major points of this patch is to
> make DBU code use lower case names. However DBU sources
> still come in uppercase from the vendor, as we're just
> patching them :) Same situation with superlib, but
> there at least the source file i
I'd expect ppl are copying these files from old archives /
backup dirs to native file system where casing is retained,
but it's very difficult to tell.
yes, that's true, but in linux are most common use of lowercase file
names and that are, how to say, more native and expected
I know, one of
Viktor Szakáts napsal(a):
It's question of how filesystem are mounted. I mount my old dos hard drive
and I have all files lowercase. I think that this is mostly true for
expirienced linux/unix user
I think that dbu are very important and we can try to make dif proces case
insensitive and dont h
Now there is another problem: there are multiple versions of DBU
sources, the patch is for 5.2e version. (for RL it's 5.3, because I
cannot find 5.2e sources of it - If someone has them, could I
get it?)
So, now we have 5 questions with no answer. IMO dos2unix
isn't needed, EOL should adapt to env
Davor Siklic napsal(a):
Viktor Szakáts napsal(a):
Hi all
dbu.dif is not usable on linux, any hint ?
No. What happens?
s...@siki:/opt/clipp/harbour/examples/dbu$ dos2unix dbu.dif
s...@siki:/opt/clipp/harbour/examples/dbu$ patch dbu.prg dbu.dif
patching file dbu.prg
Hunk #1 FAILED at 60
> It's question of how filesystem are mounted. I mount my old dos hard drive
> and I have all files lowercase. I think that this is mostly true for
> expirienced linux/unix user
> I think that dbu are very important and we can try to make dif proces case
> insensitive and dont have such problems
Viktor Szakáts napsal(a):
Hi all
dbu.dif is not usable on linux, any hint ?
No. What happens?
there are a problem with dbu.hbp also becouse the filenames are in uppercase
It's intentionally uppercase (specifically because
of *nix systems) because the original sources were
also
Viktor Szakáts napsal(a):
dbu.dif is not usable on linux, any hint ?
I have a guess: EOL.
Convert it with dos2unix or similar tool and retry.
I'll fix it in a while.
Brgds,
Viktor
___
Harbour mailing list
Harbour@harbour-project.org
http://list
Wrong guess, should be native.
On Tue, Jun 9, 2009 at 11:08 PM, Viktor Szakáts wrote:
>> dbu.dif is not usable on linux, any hint ?
>
> I have a guess: EOL.
>
> Convert it with dos2unix or similar tool and retry.
> I'll fix it in a while.
>
> Brgds,
> Viktor
>
_
> dbu.dif is not usable on linux, any hint ?
I have a guess: EOL.
Convert it with dos2unix or similar tool and retry.
I'll fix it in a while.
Brgds,
Viktor
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/li
> Hi all
>
> dbu.dif is not usable on linux, any hint ?
No. What happens?
> there are a problem with dbu.hbp also becouse the filenames are in uppercase
It's intentionally uppercase (specifically because
of *nix systems) because the original sources were
also uppercased, and we expect the origin
expression is missing
the first two characters.
Especially the record appending problem gives trouble in two apps where I use
TBrowse as a Database mainteinance rutine.
Regards,
Jorge A.
From: [EMAIL PROTECTED]
To: harbour@harbour-project.org
Subject: RE: [Harbour] Dbu problems
Date: Sun, 24
Mario,
I have requested it to Jerry but it seems he is not online right now, could you
send it to me please?
Thanks,
Jorge A.
> Date: Sun, 24 Feb 2008 05:52:26 +0800
> From: [EMAIL PROTECTED]
> To: harbour@harbour-project.org
> Subject: Re: [Harbour]
--
Message: 5
Date: Sat, 23 Feb 2008 12:39:54 +
From: "Jorge A. Giraldo" <[EMAIL PROTECTED]>
Subject: [Harbour] Dbu problems
To:
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Hi All,
Compiling DBU you could see:
- The browse u
24 matches
Mail list logo