| Author |
Message |
dstg_ll
-=* NSFW *=-


Joined: 14 Jun 2002 Age: 32 Posts: 13956
Location: Black Pearl
|
Posted:
Mon Oct 20, 2003 5:11 am Post subject: Indentation |
|
I'm pretty sure there's a software that's doing this, but i'm still sleeping and i can't find it.
Is there a software somewhere that compare a source file, remember the indentation in it and then, you can apply it to a "target" file to reproduce the indentation of the source file...
The thing is that i'm working with XML files and the client want the exact same indention in his target file which is, a translated version of the source file. The problem is that those stupid translators fook up the indentation and we have to fix it manually and it's very time consuming.
Anyway, if someone have an idea or know a software that can do that, please share... |
_________________ http://www.flickr.com/photos/dstg
Guy #1: Then You Post Those Fatties!
Guy #2: No can do. The forum limits attachments to 1600 x 1600.
|
|
|
|
|
csign
Moderator


Joined: 26 May 2001 Posts: 8155
Location: Borneo
|
Posted:
Mon Oct 20, 2003 6:32 am Post subject: |
|
|
|
|
|
dstg_ll
-=* NSFW *=-


Joined: 14 Jun 2002 Age: 32 Posts: 13956
Location: Black Pearl
|
Posted:
Mon Oct 20, 2003 6:33 am Post subject: |
|
Say that again ?
Seriously, this is commandline or... ? Linux based ? I'm on Windoh at work. |
_________________ http://www.flickr.com/photos/dstg
Guy #1: Then You Post Those Fatties!
Guy #2: No can do. The forum limits attachments to 1600 x 1600.
|
|
|
|
|
csign
Moderator


Joined: 26 May 2001 Posts: 8155
Location: Borneo
|
Posted:
Mon Oct 20, 2003 12:46 pm Post subject: |
|
|
|
|
|
Webster
Guide Dog


Joined: 16 Feb 2002 Age: 28 Posts: 8701
Location: Vacationland
|
Posted:
Mon Oct 20, 2003 5:06 pm Post subject: |
|
|
|
|
|
csign
Moderator


Joined: 26 May 2001 Posts: 8155
Location: Borneo
|
Posted:
Mon Oct 20, 2003 5:36 pm Post subject: |
|
You must be joking. This is the type of problem for which 99% solution is trivial and a 99.9% solution is impossible to do before the heat death of the universe |
|
|
|
|
|
|
dstg_ll
-=* NSFW *=-


Joined: 14 Jun 2002 Age: 32 Posts: 13956
Location: Black Pearl
|
Posted:
Tue Oct 21, 2003 3:43 am Post subject: |
|
I know Perl, but not enough to do this. I should practice...
Anyway, i did a little Word macro. It searches for "*<", move back one space, copy, search "^p", move right one time, goto target document, do the same search, move back again, paste, then loop.
Not the best way, but it's doing the job. Will try a Perl script when i will have more time. |
_________________ http://www.flickr.com/photos/dstg
Guy #1: Then You Post Those Fatties!
Guy #2: No can do. The forum limits attachments to 1600 x 1600.
|
|
|
|
|
|
|