Re: how to find spaces with a regex?

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

 



On February 18, 2004 11:28 pm, Trevor Smith wrote:

> can NOT figure out how to use a regex to search for multiple spaces -- for

Sorry, I figured it out.

   grep ' {1,}' filename

does not work

   grep ' \{1,\}' filename

does work. I was forgetting to escape the { and } characters.

-- 
 Trevor Smith    |    trevor@xxxxxxxxxxxxxx 




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux