On Sat, May 28, 2011 at 9:01 PM, Patrick O'Callaghan
wrote:
>> I was under the impression the shell accepts simple globs like '?' for
>> any single character and '*' for any one or more characters hence I
>> assumed it is an ls feature. I just read the "pattern matching"
>> section in 'man bash' a
On Sat, 2011-05-28 at 20:29 -0700, suvayu ali wrote:
> Hi Patrick,
>
> On Sat, May 28, 2011 at 8:22 PM, Patrick O'Callaghan
> wrote:
> >> >
> >> > $ ls \.[^.]*
> >> >
> >>
> >> Thanks a lot Patrick, I had no idea ls accepted regular expressions!
> >
> > It doesn't. You need to read up on how the
Hi Patrick,
On Sat, May 28, 2011 at 8:22 PM, Patrick O'Callaghan
wrote:
>> >
>> > $ ls \.[^.]*
>> >
>>
>> Thanks a lot Patrick, I had no idea ls accepted regular expressions!
>
> It doesn't. You need to read up on how the Shell works.
I was under the impression the shell accepts simple globs lik
On Sun, 2011-05-29 at 12:42 +0930, Tim wrote:
> On Sat, 2011-05-28 at 20:03 -0700, suvayu ali wrote:
> > I had no idea ls accepted regular expressions!
>
> I was under the impression that the shell handler does *all* of those
> wildcarding tricks, before handing over to the program.
Of course. I
On Sat, 2011-05-28 at 20:03 -0700, suvayu ali wrote:
> On Sat, May 28, 2011 at 3:45 PM, Patrick O'Callaghan
> wrote:
> > On Sat, 2011-05-28 at 12:18 -0700, suvayu ali wrote:
> >> Hi Michael,
> >>
> >> On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt
> >> wrote:
> >> > because the .* also
> >> >
On Sat, 2011-05-28 at 20:03 -0700, suvayu ali wrote:
> I had no idea ls accepted regular expressions!
I was under the impression that the shell handler does *all* of those
wildcarding tricks, before handing over to the program.
--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686
Don't sen
On Sat, May 28, 2011 at 3:45 PM, Patrick O'Callaghan
wrote:
> On Sat, 2011-05-28 at 12:18 -0700, suvayu ali wrote:
>> Hi Michael,
>>
>> On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt
>> wrote:
>> > because the .* also
>> > includes .., the parent directory, which in this case is /home
>>
>> A
On Sat, 2011-05-28 at 12:18 -0700, suvayu ali wrote:
> Hi Michael,
>
> On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt wrote:
> > because the .* also
> > includes .., the parent directory, which in this case is /home
>
> A quick question, how can one use globs to expand only dotfiles
> without
Hi Michael,
On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt wrote:
> because the .* also
> includes .., the parent directory, which in this case is /home
A quick question, how can one use globs to expand only dotfiles
without including ".."?
--
Suvayu
Open source is the future. It sets us f
On Sat, May 28, 2011 at 16:23, Michael Schwendt wrote:
> On Sat, 28 May 2011 16:02:13 +0300, DC wrote:
>
>> I came across an interesting warning while googling an issue:
>> apparently chowning another user's home directory will change your own
>> home directory? That is what is warned here:
>> htt
On Sat, 28 May 2011 16:02:13 +0300, DC wrote:
> I came across an interesting warning while googling an issue:
> apparently chowning another user's home directory will change your own
> home directory? That is what is warned here:
> http://www.ambience.sk/old/user-account-copy-linux
> Search that p
I came across an interesting warning while googling an issue:
apparently chowning another user's home directory will change your own
home directory? That is what is warned here:
http://www.ambience.sk/old/user-account-copy-linux
Search that page for commenter hollerith's comments, which another
com
12 matches
Mail list logo