afternoon forums.
I need to get a way of testing as to wether an inputed character is part of the english alphabet.
i have come up with the following code but its not working at all.
until ']
do
echo This is not a Letter
done
any help would be beneficial to me. (1 Reply)
Hi,
i have a variable which holds a variety of letters. eg,
var=qwertyuiop
what i want to do is determine wether an inputed letter is already stored inside the variable, so i can say to enter a new one.
i have been playing around using tr and grep but nothing seems to work at all.
... (2 Replies)
Trying to run the following awk command :
export com.mics.ara.server.tools.sch_reports.Runner.num_threads=`awk -F= '!/^#/ && /com.mics.ara.server.tools.sch_reports.Runner.num_threads/{print $2}' $BKUPDIR/env.properties`
-bash: export:... (6 Replies)
Hi, all:
How can I check what happen with my own NIC driver which response "successful" when local PC "ping" a remote linux PC but "unreachable" when it "ping" a remote windows XP PC? My writed driver runs in linux 3.0.4 kernel.
thanks!
li, kunlun (1 Reply)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
The challenge:
Decode URL's, i.e. convert %HEX to the corresponding special characters, using only UNIX base utilities, and without having to type out each special character.
I have an anonymous C code snippet where the author assigns each hex digit a number from 0 to 16 and then does some... (2 Replies)
Hi Forum.
I tried to search the forum posts for an answer but I haven't been able to do so for what I'm trying to accomplish.
I have the following source file:
11936385~TFSA|11936385|4431|3401458067|10/09/1982|25.00|IBSBONUS|3200|||||CASH|
3401458067|1005|... (3 Replies)
Hi guys,
What is the regex to check for only valid URL from a file using grep? (2 Replies)
Discussion started by: Meeran Rizvi
2 Replies
LEARN ABOUT DEBIAN
http::exception::3xx
HTTP::Exception::3XX(3pm) User Contributed Perl Documentation HTTP::Exception::3XX(3pm)NAME
HTTP::Exception::3XX - Base Class for 3XX (redirect) Exceptions
VERSION
0.04001
SYNOPSIS
use HTTP::Exception;
# all are exactly the same
HTTP::Exception->throw(301, location => 'google.com');
HTTP::Exception::301->throw(location => 'google.com');
HTTP::Exception::MOVED_PERMANENTLY->throw(location => 'google.com');
# and in your favourite Webframework
eval { ... }
if (my $e = HTTP::Exception::301->caught) {
my $self->req->redirect($e->location);
}
DESCRIPTION
This package is the base class for all 3XX (redirect) Exceptions. This makes adding features for a range of exceptions easier.
DON'T USE THIS PACKAGE DIRECTLY. 'use HTTP::Exception' does this for you.
ADDITIONAL FIELDS
Fields, that 3XX-Exceptions provide over HTTP::Exceptions.
location
Indicates, where the browser is beeing redirected to.
AUTHOR
Thomas Mueller, "<tmueller at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-http-exception at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTTP-Exception <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTTP-Exception>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc HTTP::Exception::Base
You can also look for information at:
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-Exception <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-Exception>
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/HTTP-Exception <http://annocpan.org/dist/HTTP-Exception>
o CPAN Ratings
http://cpanratings.perl.org/d/HTTP-Exception <http://cpanratings.perl.org/d/HTTP-Exception>
o Search CPAN
https://metacpan.org/release/HTTP-Exception <https://metacpan.org/release/HTTP-Exception>
LICENSE AND COPYRIGHT
Copyright 2010 Thomas Mueller.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
perl v5.14.2 2012-02-24 HTTP::Exception::3XX(3pm)