On Wed, July 20, 2011 10:33 pm, dave jones wrote:
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.
I'm not quite sure what you are
On 7/21/11 4:33 AM, dave jones wrote:
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.
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.
___
Written by Christer Hermansson on 08/18/07 18:08
Derek Ragona wrote:
At 12:04 PM 8/18/2007, Christer Hermansson wrote:
I also found some basic example at
http://www.grymoire.com/Unix/Sh.html#uh-88 :
88888
#!/bin/sh
echo Type in a number
read
Written by Reid Linnemann on 08/20/07 11:58
Written by Christer Hermansson on 08/18/07 18:08
Derek Ragona wrote:
At 12:04 PM 8/18/2007, Christer Hermansson wrote:
I also found some basic example at
http://www.grymoire.com/Unix/Sh.html#uh-88 :
Hi.
I'm trying to use regular expressions inside a shell script (/bin/sh) on
my freebsd box and can't get it to work so I searched the web and found
http://regexlib.com/RETester.aspx
On this webpage I could test my pattern ^[A-Za-z0-9_-]+$ and
everything was fine, did exactly what I wanted
At 12:04 PM 8/18/2007, Christer Hermansson wrote:
Hi.
I'm trying to use regular expressions inside a shell script (/bin/sh) on
my freebsd box and can't get it to work so I searched the web and found
http://regexlib.com/RETester.aspx
On this webpage I could test my pattern ^[A-Za-z0-9_
Derek Ragona wrote:
At 12:04 PM 8/18/2007, Christer Hermansson wrote:
I also found some basic example at
http://www.grymoire.com/Unix/Sh.html#uh-88 :
88888
#!/bin/sh
echo Type in a number
read ans
number=`expr $ans : ([0-9]*)`
if [ $number !=