On 2006-02-17 Victor Porton <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.2.27-1
> Severity: normal

> find -name "*.gz" \! -regex '.*\n.*'

> The above command produces listing of zero files, even if there are *.gz
> files (without \n in filename) in the current directory.
[...]

Hello,
Is there any documentation that \n *should* actually work? This does:
find -name "*.gz" \! -regex '.*
.*'

Compare with grep. - \t in the matching pattern matches a literal "\t"
but not a tabulator character. - A literal tab-character (inserted
with "Ctlr-v <Tab>" works as expected.
--------------
[EMAIL PROTECTED]:/tmp$ printf 'foo\tbar\nblah\nbackslasht \\t\n' \
                | egrep '\t'
backslasht \t
[EMAIL PROTECTED]:/tmp$ printf 'foo\tbar\nblah\nbackslasht \\t\n' \
                | grep '\t'
backslasht \t
[EMAIL PROTECTED]:/tmp$ printf 'foo\tbar\nblah\nbackslasht \\t\n' \
                | grep '        '
foo     bar
--------------

               cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to