Sponsored Content
Top Forums UNIX for Dummies Questions & Answers annoying vi yank word + delete all question Post 302068670 by thestevew on Monday 20th of March 2006 07:46:17 AM
Old 03-20-2006
How about a good book - I used "Learning the Vi Editor" by Lamb and Robbins and published by O'Reilly. Comprehensive, well organised and quite easy reading. Soon gets you beyond the stage where the terminal bleeps every second key-press Smilie

cheers
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

yank

This is supposed to be simple to do but I am having a hard time trying to yank 1 line (yy) but creating from it 100 lines. I can do yy then keep hitting . to repeat but it doesn't make sense. I may want to create 1000 lines from the one liner. yy then 99 p doesn't work.... Thanks. I was... (5 Replies)
Discussion started by: giannicello
5 Replies

2. UNIX for Dummies Questions & Answers

Yank a column in vi

I have a file which has data in columns. Is there a way to yank columns in vi? I tried searching in this forum. I did not find it. Please help me out. (2 Replies)
Discussion started by: stevelrf
2 Replies

3. Shell Programming and Scripting

How to delete a word from a file?

Hi All, I want to delete a word from file. How to do that. I have file that contains the following Information. EntityName:alba00r1.mis.amat.com OverallStatus:Minor IfName:Gi1/0 EntityName:alba00r1.mis.amat.com ] OverallStatus:Normal IfName:Se0/0/0... (4 Replies)
Discussion started by: ntgobinath
4 Replies

4. UNIX for Dummies Questions & Answers

Delete a word

i have created the following input script CREATE OR REPLACE VIEW MMSSENDAVGUPLOADTIME_GN AS sp_strip_mean_value_type.get_val(MMSSENDAVGUPLOADTIME) MMSSENDAVGUPLOADTIME_val sp_strip_mean_value_type.get_val(MMSSENDAVGUPLOADTIME) MMSSENDAVGUPLOADTIME_counter select... (1 Reply)
Discussion started by: gseptember
1 Replies

5. Shell Programming and Scripting

^M in yank but not in file in Vim

I am trying to visually select a section of text in vim and then substitute for it using the :%s/ sequence. First I visually select text. Then I yank using "ay. Then I type :%s/ followed by Control R and the register name, in this case a. This fills in the text I have visually selected into... (6 Replies)
Discussion started by: Enobarbus37
6 Replies

6. Shell Programming and Scripting

Delete character from a word

Friends, I'm looking for a command that delete the first tho caractere in a word. Here is an exp : I want to replace "20091001" by "091001" or "replace" by "place" Thx, (13 Replies)
Discussion started by: newpromo
13 Replies

7. Shell Programming and Scripting

How to delete the last word in a file?

Hi All, I have a file with the data as below. In this i want to delete the last word. Could you pls help me. $INSTALL_HOME/lib/fm_voucher_pol.so $INSTALL_HOME/source/sys/fm_apn_pol/fm_apn_pol_device_set_state.c In the above two lines i want to delete fm_voucher_pol.so and... (5 Replies)
Discussion started by: girish.raos
5 Replies

8. Shell Programming and Scripting

Search the word to be deleted and delete lines above this word starting from P1 to P3

Hi, I have to search a word in a text file and then I have to delete lines above from the word searched . For eg suppose the file is like this: Records P1 10,23423432 ,77:1 ,234:2 P2 10,9089004 ,77:1 ,234:2 ,87:123 ,9898:2 P3 456456 P1 :123,456456546 P2 abc:324234 (2 Replies)
Discussion started by: vsachan
2 Replies

9. Shell Programming and Scripting

Delete Word between two Char.

HI Guys, I have Input:- A nput A.txt 000100/port_xcu_dev_6/port_0_dev_7 000100/port_xcu_dev_6/port_1_dev_10 000100/port_xcu_dev_2/port_2_dev_8 000100/port_xcu_dev_3/port_3_dev_11 000100/port_xcuv_9/port_4_dev_9 ... (3 Replies)
Discussion started by: pareshkp
3 Replies

10. Shell Programming and Scripting

Delete word from the file

My file has contents like below. It is named as output_file.txt /usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2015-08-27_tmptcmsaslva2_19142.log /usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2015-08-27_tmptcmsaslva2_19142.log... (12 Replies)
Discussion started by: Ram Kumar_BE
12 Replies
addbib(1)						      General Commands Manual							 addbib(1)

Name
       addbib - create or extend bibliographic database

Syntax
       addbib [-p promptfile] [-a] database

Description
       When  this program starts up, answering ``y'' to the initial ``Instructions?'' prompt yields directions; typing ``n'' or RETURN skips them.
       The command then prompts for various bibliographic fields, reads responses from the terminal, and sends output records to  a  database.	 A
       null  response (just RETURN) means to leave out that field.  A minus sign (-) means to go back to the previous field.  A trailing backslash
       allows a field to be continued on the next line.  The repeating ``Continue?'' prompt allows the user either to resume by  typing  ``y''	or
       RETURN, to quit the current session by typing ``n'' or ``q'', or to edit the database with any system editor ( ).

Options
       -a   Suppresses prompting for an abstract.  Asking for an abstract is the default.  Abstracts are ended with a CTRL/D.

       -p   Causes use of a new prompting skeleton, defined in promptfile.  This file should contain prompt strings, a tab, and the key-letters to
	    be written to the database.

       The most common key-letters and their meanings are given below.	The insulates you from these key-letters, since it gives  you  prompts	in
       English.  However, if you edit the bibliography file later, you need this information.

	    %A	 Author's name
	    %B	 Book containing article referenced
	    %C	 City (place of publication)
	    %D	 Date of publication
	    %E	 Editor of book containing article referenced
	    %F	 Footnote number or label (supplied by refer)
	    %G	 Government order number
	    %H	 Header commentary, printed before reference
	    %I	 Issuer (publisher)
	    %J	 Journal containing article
	    %K	 Keywords to use in locating reference
	    %L	 Label field used by -k option of refer
	    %M	 Bell Labs Memorandum (undefined)
	    %N	 Number within volume
	    %O	 Other commentary, printed at end of reference
	    %P	 Page number(s)
	    %Q	 Corporate or Foreign Author (unreversed)
	    %R	 Report, paper, or thesis (unpublished)
	    %S	 Series title
	    %T	 Title of article or book
	    %V	 Volume number
	    %X	 Abstract - used by roffbib, not by refer
	    %Y,Z ignored by refer

       Except for `A', each field should be given once.  Only relevant fields should be supplied.  An example is:

	    %A	 Bill Tuthill
	    %T	 Refer - A Bibliography System
	    %I	 Computing Services
	    %C	 Berkeley
	    %D	 1982
	    %O	 UNX 4.3.5.

Files
       promptfile     Optional file to define prompting

See Also
       indxbib(1), lookbib(1), refer(1), roffbib(1), sortbib(1)

																	 addbib(1)
All times are GMT -4. The time now is 01:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy