03-14-2008
details of special functions
hi,
iam new of scripting.give him the need full information of specail character
functions like(!,~,`,@,#,$,%,^,&,**,*,(),<,>,.,?/) like
if [${1}- eq0]
if [${1}-ne0]
[! -r ${1}]
some help me
ok
byyyyy:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello.
Can any1 help me with the compress command.
The -b option takes the number of bits used for encoding.
can u expalin why this number of bits is used and for what purpose. what is the maximum number we can provide?
In SFU these number has a valod range between 12 and 16 y?? (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. UNIX for Dummies Questions & Answers
hai,
i am doing my masters degree in computers.please any one tell me about
fork(),semaphores,mutex,messaging queues,messaging using pipes ,and msgget(),msgrecv() funtions
in ipc programming .
i have exam on that i have a book but in that they not given clearly.
hope u will
... (2 Replies)
Discussion started by: G.Vishnuvardhan
2 Replies
3. UNIX for Dummies Questions & Answers
I need to do a full system inventory & pull details for:
CPU
Mem
HDD (Size, config, partitions)
Is there a single command to get this, or separate for each?
Thanks,
Gareth. (3 Replies)
Discussion started by: garethh
3 Replies
4. Red Hat
Hi
Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc).
I tried uname -a but cannot understand what is what...
Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
I dont have the root password, I can only ssh and have to... (3 Replies)
Discussion started by: amiri2000
3 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody..
I am looking for an alternative command to 'format' since this is allowed only to the root user.
How do I do to get the same information as command format does here below ?
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
... (4 Replies)
Discussion started by: Riddick61
4 Replies
6. Shell Programming and Scripting
Hi,
Can anyone please share me the details of MSEND Command. Where can I get complete information.
Waiting for reply. Thanks in Advance
Regards
BS (1 Reply)
Discussion started by: balajiora
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a Linux server where many script run on daily basis through crontab.
I could see some entries on my name but I am not able to get the details.
>>ps -ef | grep an001
>>root 9905 1742 0 Apr17 ? 00:00:00 sshd: an001
>>an001 9907 9905 0 Apr17 ? ... (3 Replies)
Discussion started by: infyanurag
3 Replies
8. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
9. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
LEARN ABOUT DEBIAN
html::mason::escapes
HTML::Mason::Escapes(3pm) User Contributed Perl Documentation HTML::Mason::Escapes(3pm)
NAME
HTML::Mason::Escapes - Functions to escape text for Mason
DESCRIPTION
This module contains functions for implementing Mason's substitution escaping feature. These functions may also be called directly.
html_entities_escape
This function takes a scalar reference and HTML-escapes it using the "HTML::Entities" module. By default, this module assumes that the
string it is escaping is in ISO-8859-1 (pre Perl 5.8.0) or UTF-8 (Perl 5.8.0 onwards). If this is not the case for your data, you will
want to override this escape to do the right thing for your encoding. See the section on User-defined Escapes in the Developer's
Manual for more details on how to do this.
url_escape
This takes a scalar reference and replaces any text it contains matching "[^a-zA-Z0-9_.-]" with the URL-escaped equivalent, a percent
sign (%) followed by the hexadecimal number of that character.
basic_html_escape
This function takes a scalar reference and HTML-escapes it, escaping the following characters: '&', '>', '<', and '"'.
It is provided for those who wish to use it to replace (or supplement) the existing 'h' escape flag, via the Interpreter's
"set_escape()" method.
This function is provided in order to allow people to return the HTML escaping behavior in 1.0x. However, this behavior presents a
potential security risk of allowing cross-site scripting attacks. HTML escaping should always be done based on the character set a
page is in. Merely escaping the four characters mentioned above is not sufficient. The quick summary of why is that for some
character sets, characters other than '<' may be interpreted as a "less than" sign, meaning that just filtering '<' and '>' will not
stop all cross-site scripting attacks. See http://www.megasecurity.org/Info/cross-site_scripting.txt for more details.
perl v5.14.2 2012-02-04 HTML::Mason::Escapes(3pm)