shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Re: script shell com vim


From: Gemayel Alves
Subject: Re: [shell-script] Re: script shell com vim
Date: Sun, 02 Sep 2007 05:22:05 +0000

Parabéns, eu não sabia...
obrigado por explicar.


From: "Ivan lopes" <address@hidden>
Reply-To: address@hidden
To: address@hidden
Subject: Re: [shell-script] Re: script shell com vim
Date: Fri, 31 Aug 2007 22:01:05 -0300
MIME-Version: 1.0
X-Originating-IP: 209.85.146.177
X-Sender: address@hidden
Received: from n20a.bullet.sp1.yahoo.com ([69.147.64.133]) by bay0-mc10-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 31 Aug 2007 18:01:10 -0700 Received: from [216.252.122.216] by n20.bullet.sp1.yahoo.com with NNFMP; 01 Sep 2007 01:01:07 -0000 Received: from [66.218.69.6] by t1.bullet.sp1.yahoo.com with NNFMP; 01 Sep 2007 01:01:07 -0000 Received: from [66.218.67.93] by t6.bullet.scd.yahoo.com with NNFMP; 01 Sep 2007 01:01:07 -0000
Received: (qmail 52671 invoked from network); 1 Sep 2007 01:01:05 -0000
Received: from unknown (66.218.66.72) by m36.grp.scd.yahoo.com with QMQP; 1 Sep 2007 01:01:05 -0000 Received: from unknown (HELO wa-out-1112.google.com) (209.85.146.177) by mta14.grp.scd.yahoo.com with SMTP; 1 Sep 2007 01:01:05 -0000 Received: by wa-out-1112.google.com with SMTP id l24so1131026waf for <address@hidden>; Fri, 31 Aug 2007 18:01:05 -0700 (PDT) Received: by 10.142.237.20 with SMTP id k20mr102536wfh.1188608465231; Fri, 31 Aug 2007 18:01:05 -0700 (PDT)
Received: by 10.143.159.19 with HTTP; Fri, 31 Aug 2007 18:01:05 -0700 (PDT)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt3Mi6GgUSv7yYKHQgGfDe+2wCW4LegkYQqypIHu4uP4o=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=hotel; d=yahoogrupos.com.br;b=WmEKWDl6W3FsHqBMejSeIuhidhJuSEvB041NlteE91VvXv/yKfBqTOsyXiBF6tLAybSX0jQ68209/VLfZ32924K1cRZTt04kUmyrguVzfEe7parz6XxsjsAFzOHjEiwF;
X-Yahoo-Newman-Id: 1941312-m2846
X-Apparently-To: address@hidden
References: <address@hidden> <address@hidden>
X-eGroups-Msg-Info: 1:12:0:0:0
X-Yahoo-Profile: ivanczar78
Mailing-List: list address@hidden; contact address@hidden
Delivered-To: mailing list address@hidden
List-Id: <shell-script.yahoogrupos.com.br>
Precedence: bulk
List-Unsubscribe: <mailto:address@hidden>
X-Yahoo-Newman-Property: groups-email-ff-m
Return-Path: sentto-1941312-2846-1188608467-gemayellira=address@hidden X-OriginalArrivalTime: 01 Sep 2007 01:01:10.0178 (UTC) FILETIME=[95A9F820:01C7EC33]

cara o vim tem suporte a plugin externos em uma linguagem propria dele.
qualquer duvida de uma olhada em http://www.vim.org/

Todavia esse escript utiliza shell script externo,
por exemplo, eu gostaria que toda vez que apertasse o
sinal de interrogacao em uma linha que tenha `ls -s`, o vim
fizesse uma chamada externa ao shell e me retornasse
conforme a linha abaixo:

man -7 ls 1| col -b| sed '/^\s*-s\>/,/^$/!d'
Reformatting ls(1), please wait...
What manual page do you want from section 1?
       -s, --size
              with -l, print size of each file, in blocks_._,___
>
>


--
[ ]'s
Ivan Carlos Da Silva Lopes

Engenheiro Eletronico e Computacao
UFRJ


[As partes desta mensagem que não continham texto foram removidas]


_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]