> $command =~ s/\-x// should work
Note - the dash only needs to be escaped when its in a position to
possibly denote a char range, so:
s/-z//;
and:
s/a-z//;
s/0-9//;
are okay, and:
s/[a-z]//;
does what you expect (removes first lower case letter). Sneaks up on you,
though, in:
s/[&[EMAIL PROT
$command =~ s/\-x// should work
On Thu, 28 Oct 2004 15:25:24 -0700 (PDT), Ella Cai <[EMAIL PROTECTED]> wrote:
>
>
>
> I have one line like this:
>
> $command = '$ldapsearch -x -LLL -h "cds2.ford.com" -b "ou=People,
> o=Ford,c=US" "uid=$login" uid fordUNIXid';
>
> If
> {
> $comman
I have one line like this:
$command = '$ldapsearch -x -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid';
If
{
$command = '$ldapsearch -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid'
# which -x need to remove
}
Could anyone le