[Tfug] Bulk OpenOffice Conversion

Harry McGregor micros at osef.org
Fri May 25 08:26:52 MST 2007


Hi,

Since Bill mentioned it...  Baby photos: http://hh.zqc.com

                        Harry

Bill M. wrote:
> Jim,
>
>   
> One word: awk or maybe sed. I just finished the Unix class at PCC with
> our favorite geek and new father, Harry. I don't have my manual in front
> of me, but something like this:
>
> awk -f fix-data.awk tab-delim.txt
>
> # take an input command file, output text file
> # FS = field separator TAB, ORS = output record separator linefeed
> BEGIN { OFS = "\t", ORS = "\n" }
> # each option $1, $2 is the input field with the default input field
> # separator is a space, you can specify others
> { print $1, $2, $3, $4 }
>
> -*-Bill
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>   





More information about the tfug mailing list