RootsWeb.com Mailing Lists
Total: 3/3
    1. Re: Search and replace in one field
    2. Joe Makowiec
    3. On 16 Feb 2013 in soc.genealogy.computing, Ian Goddard wrote: > grep looks for lines containing particular strings. But it doesn't > edit things. awk and sed do. The thing is that these are all Unix > commands. > There is a package called Cygnus which makes them available on Windows There are also native Windows ports: http://gnuwin32.sourceforge.net/ http://sourceforge.net/projects/unxutils/ and probably more if you do a web search for [gnu utilities windows]. -- Joe Makowiec http://makowiec.org/ Email: http://makowiec.org/contact/?Joe Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/

    02/16/2013 10:30:58
    1. Re: Search and replace in one field
    2. Ian Goddard
    3. Joe Makowiec wrote: > On 16 Feb 2013 in soc.genealogy.computing, Ian Goddard wrote: > >> grep looks for lines containing particular strings. But it doesn't >> edit things. awk and sed do. The thing is that these are all Unix >> commands. >> There is a package called Cygnus which makes them available on Windows > > There are also native Windows ports: > > http://gnuwin32.sourceforge.net/ > > http://sourceforge.net/projects/unxutils/ > > and probably more if you do a web search for [gnu utilities windows]. > Actually it was Cygwin http://www.cygwin.com/ I was thinking of. It's a long time since I used it (much easier these days to just run Linux) but IIRC it provides its own Unix-style shell & doesn't then depend on the conflict between the way command.exe & shell handle / and \ etc. I'm not sure if the others do. -- Ian The Hotmail address is my spam-bin. Real mail address is iang at austonley org uk

    02/16/2013 11:01:34
    1. Re: Search and replace in one field
    2. Joe Makowiec
    3. On 16 Feb 2013 in soc.genealogy.computing, Ian Goddard wrote: > Actually it was Cygwin http://www.cygwin.com/ I was thinking of. > It's a long time since I used it (much easier these days to just run > Linux) but IIRC it provides its own Unix-style shell & doesn't then > depend on the conflict between the way command.exe & shell handle / > and \ etc. I'm not sure if the others do. Probably not, although I tend to avoid pathing issues by changing to the directory I want to use before I use the utilities. Having grep available in a 'DOS' shell is extremely convenient. -- Joe Makowiec http://makowiec.org/ Email: http://makowiec.org/contact/?Joe Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/

    02/16/2013 08:34:32