I just OOo for this.

Here is a link on how I do it. 2 steps and I'm done:

http://www.openofficetips.com/blog/archives/2004/10/importing_tabul.html

Ed

Robert Citek wrote:
> Does anyone know of a tool or shell script for viewing tab-delimited  
> files?
>
> I'd like to be able to view tab-delimited files with the columns  
> aligned.  I wrote a one-line perl script for this and put it into an  
> alias:
>
> alias cat.tab='perl -lane '\''@F=split("\t", $_,-1) ; $foo="| %15.40s  
> "x($#F +1) . "|\n"; printf($foo, @F)'\'' '
>
> which allows me to do something like this:
>
>   ls -la | tr -s ' ' '\t' | cat.tab | less -S# 10
>
> Although it mostly works, I was wondering if there was anything a bit  
> cleaner.
>
> Googling for linux+viewing+tab-delimited+files wasn't very fruitful.
>
> Regards,
> - Robert
> http://www.cwelug.org/downloads
> Help others get OpenSource software.  Distribute FLOSS
> for Windows, Linux, *BSD, and MacOS X with BitTorrent
>
>  
> _______________________________________________
> CWE-LUG mailing list
> [email protected]
> http://www.cwelug.org/
> http://www.cwelug.org/archives/
> http://www.cwelug.org/mailinglist/
>   

-- 
Ed Howland
WDT Solutions, LLC.
[EMAIL PROTECTED]
(314) 962-0766

 
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to