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+FAA@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: <http://docs.FreeBSD.org/cgi/mid.cgi?CANf5e8ZfbcNdkjgfBvektTe7rkOdj0P1Le7tAC59D2tunq+FAA>