Sponsored Content
Full Discussion: Vi editor, copy one column?
Top Forums Shell Programming and Scripting Vi editor, copy one column? Post 302380554 by MeetP on Tuesday 15th of December 2009 12:56:17 PM
Old 12-15-2009
Can you explain the command.

%s/\(.*\) .*/& \1/

Substitute

---------- Post updated at 12:56 PM ---------- Previous update was at 12:54 PM ----------

%s/\(.*\) .*/& \1/

s :substitute
.* means number of characters
\ means do not take other meaning
what does & mean?
Can you explain the command please?
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copy/Paste in Vi editor

Dear All, I have a file containing 12 lines. First 3 lines have 9 values and the remaining 9 lines with no values. I was trying to copy and paste these 9 values of the first 3 lines into last 9 lines simultaneously as A=1.491331, B=1.539000 ..... but I don't know how to cope with this... (9 Replies)
Discussion started by: sullah
9 Replies

2. UNIX for Dummies Questions & Answers

Copy huge data into vi editor

Hi All, HP-UX dev4 B.11.11 U 9000/800 3251073457 I need to copy huge data from windows text file to vi editor. when I tried copy huge data, the format of data is not preserverd and appered to scatterd through the vi, something like give below. Please let me know, how can I correct this? ... (18 Replies)
Discussion started by: alok.behria
18 Replies

3. Shell Programming and Scripting

Copy from vi Editor ( unix ) to windows

How to copy the complete content from a file in vi Editor to windows ( notepad ). I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies

4. UNIX for Dummies Questions & Answers

Copy/paste in vi editor

Hello guys, I am trying to copy a line in vi editor and paste it with below commands but paste command is not working and instead of paste action prints the p character!! I should also mention that the server is Solaris... 1) crontab -e 2) j to move down 3) yy to copy the line 4) o to... (4 Replies)
Discussion started by: Newman
4 Replies

5. UNIX for Beginners Questions & Answers

How to copy a column of multiple files and paste into new excel file (next to column)?

I have data of an excel files as given below, file1 org1_1 1 1 2.5 100 org1_2 1 2 5.5 98 org1_3 1 3 7.2 88 file2 org2_1 1 1 2.5 100 org2_2 1 2 5.5 56 org2_3 1 3 7.2 70 I have multiple excel files as above shown. I have to copy column 1, column 4 and paste into a new excel file as... (26 Replies)
Discussion started by: dineshkumarsrk
26 Replies
libgtkthml-editor(3)						C Library Functions					      libgtkthml-editor(3)

NAME
libgtkthml-editor, libgtkhtml - GtkHTML is a lightweight HTML rendering/printing/editing engine. DESCRIPTION
libgtkthml-editor is a HTML rendering/editing library. It is not designed to be a fully featured HTML browser/editor. Instead, it is designed to be easily embedded into applications that require lightweight HTML functionality. Evolution makes use of it in the mail com- poser. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWevolution-libs | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
evolution(1), gtkhtml-editor-test(1), attributes(5), gnome-interfaces(5) NOTES
Sun does not guarantee the stability of these interfaces and does not recommend their use. API documentation for these interfaces is pro- vided by the GNOME community for those who wish to develop using these interfaces. Written by Jeff Cai, Sun Microsystems Inc., 2008. SunOS 5.11 28 Jul 2008 libgtkthml-editor(3)
All times are GMT -4. The time now is 03:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy