Search Results

Search: Posts Made By: MeetP
18,869
Posted By MeetP
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
\...
1,971
Posted By MeetP
vi editor question
This is an vi editor question. I do not know is this a right place to ask this question or not?
I have a file with the following contents,

10 11
20 21
30 31

I want to copy first column...
18,869
Posted By MeetP
Vi editor, copy one column?
This is an vi editor question. I do not know is this a right place to ask this question or not?
I have a file with the following contents,

10 11
20 21
30 31

I want to copy first column...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy