Sponsored Content
Operating Systems Solaris Copy and paste text from a word document into a txt file in vi Post 302389968 by chompy on Tuesday 26th of January 2010 01:44:12 PM
Old 01-26-2010
Are you asking how to open a word doc then copy and paste it into a text file using vi? is this from a GUI or terminal? otherwise if you want to copy you should be able to use ctrl+c and then use shift+insert to paste in most cases.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copy/Paste text as commands in AIX

Hello, I'm absolutely new to this world... but I've a problem with a terminal connected via PuTTY (or Termlite) to an AIX 5.1 application. The problem: I need to paste from clipboard a text containing both input text strings and special keys as ESC, Arrows and so on, to execute in the AIX... (1 Reply)
Discussion started by: Daniele11
1 Replies

2. UNIX for Advanced & Expert Users

Mutt - Word Document or Formatted text as a Message

Hi, I am writing a mailing script by using mutt command. I that i have facing a issues. because, i want to send Some Formatted text as the mail message. but, i try to send the Word Document file as the Mail message. it shows some junk characters in the mail. :confused:I think the mutt command is... (1 Reply)
Discussion started by: krsenkumar
1 Replies

3. UNIX for Dummies Questions & Answers

Paste a word in the third field position of a file

Hi All, I have a file like this, 0.0.0.1 /account 327706,Data Cleansing,,,CRM error,100,0 The above line is a comma separted data file. I want to modify the third field to The final data file should be like 0.0.0.1 /account 327706,Data Cleansing,,,CRM error,100,0 ... (1 Reply)
Discussion started by: girish.raos
1 Replies

4. Shell Programming and Scripting

Copy and Paste to a new document

Hello, I am quite new to shell scripting so don't know all the tools available. What I'm trying to do is open a file optimal.txt search for objectiveValue and copy the number in quotes next to it. e.g. ... solutionName="incumbent" solutionIndex="-1" objectiveValue="13246" ... (6 Replies)
Discussion started by: StephanR
6 Replies

5. Shell Programming and Scripting

copy contents of unix file to Word document

Hello, I have a unix file about 3000lines which i want to copy from and paste it into a Word document. If i cat the file and try to scroll through it then not everything is captured so i am getting and incomplete paste. Any help is really appreciated. jak (2 Replies)
Discussion started by: jakSun8
2 Replies

6. Shell Programming and Scripting

Copy and Paste Columns in a Tab-Limited Text file

I have this text file with a very large number of columns (10,000+) and I want to move the first column to the position of the six column so that the text file looks like this: Before cutting and pasting ID Family Mother Father Trait Phenotype aaa bbb ... (5 Replies)
Discussion started by: evelibertine
5 Replies

7. UNIX for Dummies Questions & Answers

How to copy a file opened in UNIX to word or txt?

Hi I would like to know how to copy a file opened in unix editor like Nedit or vi editor to a word document Since I am newbie I want to make sure I am not really copying onto real subdirectories I tried to right click and copy the entire .sql file or any other file opened.. Nedit doesn't... (3 Replies)
Discussion started by: swathi123
3 Replies

8. Windows & DOS: Issues & Discussions

2 Questions: replace text in txt file, add text to end of txt file

so... Lets assume I have a text file. The text file contains multiple "#" symbols. I want to replace all thos "#"s with a STRING using DOS/Batch I want to add a certain TEXT to the end of each line. How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
Discussion started by: pasc
1 Replies

9. Shell Programming and Scripting

Copy and paste text inside a xml file

I have a really big XML file. I need copy the value of one tag inside another one tag. I try to publish one example. <channel update="i" site="merge-xmltv" site_id="" xmltv_id="Rai 1">Rai 1</channel> <channel update="i" site="merge-xmltv" site_id="" xmltv_id="Rai 1 +2HD">Rai 1... (6 Replies)
Discussion started by: Tapiocapioca
6 Replies

10. Shell Programming and Scripting

Bash copy and paste text in file from one position to another

Hi I have a text file with lines beginning with 71303, 71403, 71602, I need to copy the 10 digit text at position 30 on lines beginning with 71303 (5500011446) to position 99 on every line beginning with 71602 (see example below), There may be many 71303 lines but I need the text copying to... (2 Replies)
Discussion started by: firefox2k2
2 Replies
htload(1)						      General Commands Manual							 htload(1)

NAME
htload - reads in an ASCII-text version of the document database SYNOPSIS
htload [options] DESCRIPTION
Htload reads in an ASCII-text version of the document database in the same form as the -t option of htdig and htdump. Note that this will overwrite data in your databases, so this should be used with great care. OPTIONS
-a Use alternate work files. Tells htload to append .work to database files, allowing it to operate on a second set of databases. -c configfile Use the specified configfile instead of the default. -i Initial. Do not use any old databases. This is accomplished by first erasing the databases. -v Verbose mode. This doesn't have much effect. File Formats Document Database Each line in the file starts with the document id followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below: u URL t Title a State (0 = normal, 1 = not found, 2 = not indexed, 3 = obsolete) m Last modification time as reported by the server s Size in bytes H Excerpt h Meta description l Time of last retrieval L Count of the links in the document (outgoing links) b Count of the links to the document (incoming links or backlinks) c HopCount of this document g Signature of the document used for duplicate-detection e E-mail address to use for a notification message from htnotify n Date to send out a notification e-mail message S Subject for a notification e-mail message d The text of links pointing to this document. (e.g. <a href="docURL">description</a>) A Anchors in the document (i.e. <A NAME=...) Word Database While htdump and htload don't deal with the word database directly, it's worth mentioning it here because you need to deal with it when copying the ASCII databases from one system to another. The initial word database produced by htdig is already in ASCII format, and a binary version of it is produced by htmerge, for use by htsearch. So, when you copy over the ASCII version of the document database produced by htdump, you need to copy over the wordlist as well, then run htload to make the binary document database on the target system, followed by running htmerge to make the word index. Each line in the word list file starts with the word followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below, with the last two being optional: i Document ID l Location of word in document (1 to 1000) w Weight of word based on scoring factors c Count of word's appearances in document, if more than 1 a Anchor number if word occurred after a named anchor FILES
/etc/htdig/htdig.conf The default configuration file. /var/lib/htdig/db/db.docs The default ASCII document database file. /var/lib/htdig/db/db.wordlist The default ASCII word database file. SEE ALSO
Please refer to the HTML pages (in the htdig-doc package) /usr/share/doc/htdig-doc/html/index.html and the manual pages htdig(1) , htmerge(1) and htdump(1) for a detailed description of ht://Dig and its commands. AUTHOR
This manual page was written by Stijn de Bekker, based on the HTML documentation of ht://Dig. 15 October 2001 htload(1)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy