On 03 April 2007 23:28, Matthew Woehlke wrote:
> Thrall, Bryan wrote:
>> Gary Johnson wrote on Tuesday, April 03, 2007 5:05 PM:
>>> If you're piping 'ls' into another command, the -1 isn't necessary.
>>> 'ls' detects that its stdout is not a tty and delivers single-column
>>> output automatically.
Thrall, Bryan wrote:
Gary Johnson wrote on Tuesday, April 03, 2007 5:05 PM:
If you're piping 'ls' into another command, the -1 isn't necessary.
'ls' detects that its stdout is not a tty and delivers single-column
output automatically.
Not when you use 'ls -l':
Sure it does. There is still on
Gary Johnson wrote on Tuesday, April 03, 2007 5:05 PM:
> On 2007-04-03, Dave Korn wrote:
>
>> BTW2, I assume we're still talking about your script from before.
>> Seriously, use "ls -1" rather than "ls -l" (that is, use a one
>> instead of an L), because then you get /just/ the filenames, one pe
On 2007-04-03, Dave Korn wrote:
> BTW2, I assume we're still talking about your script from before.
> Seriously, use "ls -1" rather than "ls -l" (that is, use a one instead of an
> L), because then you get /just/ the filenames, one per line, and won't have to
> worry about parsing the name out f
On Apr 3, 2007, at 11:00 AM, Kevin Markle wrote:
In this search I want to get winops only not winops and winops-hq
[EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV
$ ls -al | grep winops
-rwx--+ 1 Administrators 1079474 Apr 2 19:32 winops-
hq_WINDOWSUpdate.log
-rwx--+ 1 Admin
On 03 April 2007 19:01, Kevin Markle wrote:
> In this search I want to get winops only not winops and winops-hq
>
> [EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV
> $ ls -al | grep winops
> -rwx--+ 1 Administrators 1079474 Apr 2 19:32
> winops-hq_WINDOWSUpdate.log
> -rwx--+ 1 A
Kevin Markle wrote:
In this search I want to get winops only not winops and winops-hq
[EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV
$ ls -al | grep winops
-rwx--+ 1 Administrators 1079474 Apr 2 19:32
winops-hq_WINDOWSUpdate.log
-rwx--+ 1 Administrators 18993 Apr
In this search I want to get winops only not winops and winops-hq
[EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV
$ ls -al | grep winops
-rwx--+ 1 Administrators 1079474 Apr 2 19:32
winops-hq_WINDOWSUpdate.log
-rwx--+ 1 Administrators 18993 Apr 3 13:02
winops-hq_as
On 03 April 2007 18:33, Kevin Markle wrote:
> Hello,
>
> I can't seem to find a way to get grep to do exact matches in cygwin. I
> have looked at the man pages and can find nothing? :/
grep only does exact matches if you don't use any of the wildcard chars,
perhaps 'exact matches' isn't quite
9 matches
Mail list logo