Re: Converting space-aligned text

Subject: Re: Converting space-aligned text
From: quills -at- airmail -dot- net
To: Victoria Wroblewski <victoria -dot- wroblewski -at- eagletest -dot- com>
Date: Mon, 23 Feb 2009 17:15:28 -0600



You could use most any capable text editor to find large numbers of
spaces and replace them with a tab. Or use a GREP program.

Scott

Victoria Wroblewski wrote:
> All,
>
> We've got a monster of a plain text file that is generated from our
> equipment that we need to format into something more professional
> looking. Basically, it spits out data that we want to format to look
> something like the following:
>
> 6.20 x.xxxx xxxx xxxxxxxxxxxxxxxxx
> 6.21 x = x.x
> 6.22 x.xxxx xxxx xxxxxxxxxxxxxxxxxxxxx
> 6.23 x = x.x
> 6.24 xx.xxxx xxxx xxxxxxxxxxxx
> 6.25 x = x.x
>
> The problem is that it spits this out as a text file with everything
> spaced using spaces, and not tabs. Makin' it pretty means going in and
> manually converting various lengths of spaces into tabs, or aligning it
> all with spaces (and it's been a "six of one, half a dozen of the other"
> experience using either method).
>
> Are there any tools out there that can deal with helping to convert this
> kind of stuff? I haven't been able to find a way to automate the
> removal of the spaces, since they can be different on each line, but I
> don't know if this type of edit is common enough where someone has put
> together any sort of application that will even do something like
> convert areas with more than two spaces into a tab rather than spaces.
>
> Anyone??
>
>
> Thanks,
>
>
> Victoria Wroblewski
> Developer - Technical Documentation
> Eagle Test Systems, Inc.
>
>
> **This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.**
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
> solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
> HTML and publish to the Web, Help systems or printed manuals.
> http://www.doctohelp.com
>
> Help & Manual 5: The complete help authoring tool for individual
> authors and teams. Professional power, intuitive interface. Write
> once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/
>
> ---
> You are currently subscribed to TECHWR-L as quills -at- airmail -dot- net -dot-
>
> To unsubscribe send a blank email to
> techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
> or visit http://lists.techwr-l.com/mailman/options/techwr-l/quills%40airmail.net
>
>
> To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com
>
> Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
> http://www.techwr-l.com/ for more resources and info.
>
> Please move off-topic discussions to the Chat list, at:
> http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat
>
>
>
>

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals.
http://www.doctohelp.com

Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


References:
Exempt status for Tech Writers: From: beelia
Re: Exempt status for Tech Writers: From: Gregory P Sweet
Converting space-aligned text: From: Victoria Wroblewski

Previous by Author: Re: Qualifications for an off shore writer?
Next by Author: Re: Specimen observed in the wild
Previous by Thread: Converting space-aligned text
Next by Thread: Re: Converting space-aligned text


What this post helpful? Share it with friends and colleagues:


Sponsored Ads