On Mon, Jul 31, 2000 at 11:22:11AM +1000, George Vieira wrote: > $TMP contains a PID number which I need to grep out of the modemlist$$.tmp > file but need to check with spaces eg.. " $TMP " to prevent numbers like > 43512 popping up when searching for 435 etc.. Try 'grep -w' to restrict the match to whole words. Cheers, John -- whois [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] Grepping a variable and spaces. George Vieira
- Re: [SLUG] Grepping a variable and spaces. Damien Gardner Jnr
- Re: [SLUG] Grepping a variable and spaces. John Clarke
- Re: [SLUG] Grepping a variable and spaces. Russell Davies
- Re: [SLUG] Grepping a variable and spaces. Ken Yap
- Re: [SLUG] Grepping a variable and spaces. Russell Davies
- Re: [SLUG] Grepping a variable and spaces. Russell Davies
