[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RES: [shell-script] Executar um ponto... :)
From: |
GBJ |
Subject: |
Re: RES: [shell-script] Executar um ponto... :) |
Date: |
Thu, 06 Sep 2001 20:20:59 -0300 |
total 40762
drwxr-xr-x 16 root wheel 51712 Jul 28 22:35 .
-rws--x--- 1 other2 other1 25564 Jul 28 22:34 .
drwxr-xr-x 32 root wheel 1024 Aug 3 15:28 ..
-r--r--r-- 11 root bin 7435 Apr 28 19:13 BF_cbc.0
Vejam... a linha que preciso executar é essa: -rws--x--- 1
other2 other1 25564 Jul 28 22:34 .
Quando executo o ls -la | grep ' \.$', vejo apenas:
$ ls -la | grep ' \.$'
drwxr-xr-x 16 root wheel 51712 Jul 28 22:35 .
$
Já tentei algo como ./". " e coisas parecidas mas... nada. :/
GBJ
From (no email address) Thu Sep 06 17:24:34 2001
Return-Path: <address@hidden>
X-Sender: address@hidden
X-Apparently-To: address@hidden
Received: (EGP: mail-7_3_2_1); 7 Sep 2001 00:24:34 -0000
Received: (qmail 23786 invoked from network); 7 Sep 2001 00:23:56 -0000
Received: from unknown (10.1.10.142)
by l9.egroups.com with QMQP; 7 Sep 2001 00:23:56 -0000
Received: from unknown (HELO perninha.conectiva.com.br) (200.250.58.156)
by mta3 with SMTP; 7 Sep 2001 00:23:54 -0000
Received: from burns.conectiva (burns.conectiva [10.0.0.4])
by perninha.conectiva.com.br (Postfix) with SMTP id 1D4B238CFC
for <address@hidden>; Thu, 6 Sep 2001 21:23:50 -0300 (EST)
Received: (qmail 28317 invoked by uid 0); 7 Sep 2001 00:21:27 -0000
Received: from verde.distro.conectiva (10.0.17.77)
by burns.conectiva with SMTP; 7 Sep 2001 00:21:27 -0000
Date: Thu, 6 Sep 2001 21:33:08 -0300 (BRT)
X-X-Sender: <verde@verde.distro.conectiva>
To: <address@hidden>
Subject: Re: RES: [shell-script] Executar um ponto... :)
In-Reply-To: <address@hidden>
Message-ID: <Pine.LNX.4.33L.0109062129520.889-100000@verde.distro.conectiva>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
X-eGroups-From: # aurelio marinho jargas <address@hidden>
From: # aurelio marinho jargas <address@hidden>
@ 6/9, GBJ:
total 40762
drwxr-xr-x 16 root wheel 51712 Jul 28 22:35 .
-rws--x--- 1 other2 other1 25564 Jul 28 22:34 .
drwxr-xr-x 32 root wheel 1024 Aug 3 15:28 ..
-r--r--r-- 11 root bin 7435 Apr 28 19:13 BF_cbc.0
Vejam... a linha que preciso executar é essa: -rws--x--- 1
other2 other1 25564 Jul 28 22:34 .
Quando executo o ls -la | grep ' \.$', vejo apenas:
$ ls -la | grep ' \.$'
drwxr-xr-x 16 root wheel 51712 Jul 28 22:35 .
$
então nosso amigo matou a charada, tem espaços depois do ponto.
faça:
ls -1 .[^.]* | sed 's/ /_/g'
que vc vai ver os espaços virarem sublinhados _
ou pode ser TABs também. aí o
ls -1 .[^.]* | sed -n l
vai te mostrar.
--
s·:(·>(·×^a]×http://www.verde666.org×^[:wq