Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 10:33:57 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Question about regular expressions
Message-ID:  <CANf5e8ZfbcNdkjgfBvektTe7rkOdj0P1Le7tAC59D2tunq%2BFAA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a config file below:

$user        =   'root';           // This is the username

if $user is found, I want to display root.
Anyone knows how to programming in C or some other language? thank you.

Regards,
Dave.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANf5e8ZfbcNdkjgfBvektTe7rkOdj0P1Le7tAC59D2tunq%2BFAA>