LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-27-2005, 01:51 PM   #1
matarodi
Member
 
Registered: Jan 2005
Location: Mashhad
Distribution: Debian Sarge
Posts: 65

Rep: Reputation: 15
find and replace answer word?


Hi

I have two large file in openoffice calc and openoffice writer. And have some dictionary word in openoffice clac file without answer, but in openoffice writer file i have words with answers.
Now i want an script or macro's for finding first word from openoffice calc file and search it in openoffice writer file,when find it, copy means to opposite same word in openoffice clac cell file, and continue for finishing words in clac file to end file.

like:
calc file
words means(must replace from writer file)
AA --
BB --
CC --
DD --
EE --
FF --


openoffice writer file:
words means
AA aa
BB bb
CC cc
DD dd
EE ee



after succeeded script or any programs we must have clac file like this:

words means (find and replace from writer file)
AA aa
BB bb
CC cc
DD dd
EE ee


I want copy and paste all word from writer file to calc file in one sheet and then run your script you write for me.

thanks a lot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
replace a word in vim editor fssengg Linux - Newbie 3 03-10-2005 08:39 AM
Replace word in VIM ICO Linux - Software 2 03-17-2004 01:28 AM
How to replace a word within a file elegantly Linh Programming 3 10-23-2003 10:21 AM
find a word 2 jojo Programming 4 02-23-2003 09:55 AM
Find a word. jojo Programming 6 02-21-2003 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration