Re: Automatic text generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Smith wrote:
Dear All

I have a long spreadsheet as follows:

X1    X2    X3    X4    X5
2    6    1    1    4
2    1    3    1    5
3    3    3    4    6
4    2    5    3    4
6    6    5    1    1
5    6    4    1    3

[...]

For each number and for each X variable, there is a small piece of
text. I am looking for a program to replace, for each spreadsheet line
and for each number therein, the respective text and create a phrase
concatenating the pieces of text corresponding to the numbers. Is
there some tool to accomplish this goal?


Perl is usually a good tool for text manipulation if you are willing to learn some programming, and there are available modules for just about anything you might need to do that can be found at http://search.cpan.org/ if they aren't already in the distribution. If you search for 'spreadsheet' you'll find an assortment of modules that can read and write common spreadsheet formats.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux