Merge branch 'master' of https://github.com/jarun/markit
This commit is contained in:
commit
cce7437ea6
@ -148,11 +148,15 @@ Run the script:
|
|||||||
<pre>$ chmod +x myurls
|
<pre>$ chmod +x myurls
|
||||||
$ ./myurls</pre>
|
$ ./myurls</pre>
|
||||||
|
|
||||||
<b>TIP:</b> To add the same text at the beginning of multiple lines using vim editor:
|
<b>TIP:</b>
|
||||||
|
To add the same text at the beginning of multiple lines using vim editor:
|
||||||
- Press `Ctrl-v` to select the first column of text in the lines you want to change (visual mode).
|
- Press `Ctrl-v` to select the first column of text in the lines you want to change (visual mode).
|
||||||
- Press `Shift-i` and type the text you want to insert.
|
- Press `Shift-i` and type the text you want to insert.
|
||||||
- Hit `Esc`, wait 1 second and the inserted text will appear on every line.
|
- Hit `Esc`, wait 1 second and the inserted text will appear on every line.
|
||||||
|
|
||||||
|
Using sed:
|
||||||
|
<pre>$ sed -i 's/^/markit -wu /' filename</pre>
|
||||||
|
|
||||||
#License
|
#License
|
||||||
GPL v3
|
GPL v3
|
||||||
Copyright (C) 2015 by Arun Prakash Jana <engineerarun@gmail.com>
|
Copyright (C) 2015 by Arun Prakash Jana <engineerarun@gmail.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user