Nikolaos A. Patsopoulos wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete
Tim Chase wrote:
To do an operation on multiple files in a WinXP DOS batch:
for %%A in (*.txt) do [command]
Just a small caveat to the reader, this works within a batch file by
escaping the variable (%A in this case). If you're running it from
the command-line, you don't escape it, and
for %a in (*.txt) do [command using %a]
instead of
for %%a in (*.txt) do [command using %%a]
Then again, maybe I'm among the freakish few that actually use for-loops
at the dos-prompt. :)
-tim
I have used them too, starting (in my case) with Dos 3.1. Your warning
is valid on old
Hi,
I have a series of questions:
1. I want to edit multiple files from command line so I created a vim
script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this script on multiple files. In vim's help there is
this
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Hi,
I have a series of questions:
1. I want to edit multiple files from command line so I created a vim
script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
Yakov
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have the
following structure of folders and files:
..
folder1
file1
file2
folder2
file1
file2
.
and want to add the folder name into
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
Yakov
I get an E16: invalid range error
--
Nikolaos A.
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have
the following structure of folders and files:
..
folder1
file1
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have
the following structure of folders and files:
..
folder1
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote Yakov
Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL
On Thu, 2006-09-14 at 13:01 +0300, Nikolaos A. Patsopoulos wrote:
1. I want to edit multiple files from command line so I created a
vim script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this script on
Steve Hall wrote:
On Thu, 2006-09-14 at 13:01 +0300, Nikolaos A. Patsopoulos wrote:
1. I want to edit multiple files from command line so I created a
vim script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this
To do an operation on multiple files in a WinXP DOS batch:
for %%A in (*.txt) do [command]
Just a small caveat to the reader, this works within a batch file
by escaping the variable (%A in this case). If you're running
it from the command-line, you don't escape it, and thus use
instruction, so u
don't even need to have a batch file for it)
Regards,
Sibin
-Original Message-
From: Nikolaos A. Patsopoulos [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 3:31 PM
To: vim@vim.org
Subject: vim | multiple files editing and delete question
Hi,
I have a series
(actually it's just one instruction, so u
don't even need to have a batch file for it)
Regards,
Sibin
-Original Message-
From: Nikolaos A. Patsopoulos [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 3:31 PM
To: vim@vim.org
Subject: vim | multiple files editing and delete question
19 matches
Mail list logo