On Sun, Nov 28, 2004 at 09:49:19PM +0100, [EMAIL PROTECTED] wrote:
> Selon Frederick Ros <[EMAIL PROTECTED]>:
> 
> > Robert Siemer wrote :
> > | instead if you dont want to work with a real tab character. [:blank:] is
> > | exactly space and tab.
> >
> > Yup. I know this. But what if I want *only* tab characters ?
> >
> 
> With bash we can use escape sequence of bash.
>    $'un caractère tab : \011'  <- code ascci base 8
> 
> So   echo "example..." | grep $'\011'

Hey, not so complicated. (-: The shell-special $'...' also understands \t.
Example:

echo $'This is a tab: \t <-- (tab here).'



Rob

Reply via email to