01-29-2009
Quote:
Originally Posted by
zedex
now which shell will execute this echo statement ?
Just work it out logically. What does bash do when you run 'bash filename'? How will it treat lines beginning with #?
Quote:
2 ) how to call one shell script from other script without creating new process ? interviewer told me i want to use $aaa from a.sh script to b.sh without exporting it ?
'source filename'.
Quote:
6 ) in perl what can be maximum length of variable ? like my $a = "aaa...." how far can i go ?
I don't think perl has a real limit.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can somebody please tell me a little about UNIX OS. For instance, is it ideal for digital media or how easy is it to get help and support? (3 Replies)
Discussion started by: buk5d
3 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to find out what all is involved with setting up SFTP?
1) Do Solaris machines come with a SFTP server and client already installed.
2) If so would I have to install SFTP clients on windows, if I want to transfer files to a Solaris box?
3) If SFTP doesn't come prepackaged would I... (1 Reply)
Discussion started by: JohnRodey
1 Replies
3. UNIX for Dummies Questions & Answers
OK, here's a question from a true UNIX newb: How does one make a 20 line file? I'm lost. :confused:
OK, I figured it out. :D (0 Replies)
Discussion started by: Kitchen Zinc
0 Replies
4. UNIX for Dummies Questions & Answers
Hi-
Newbie here with some basic questions:
1) I can't get alias to work. I tried alias ll='ls -al', but it doesn't work. When just typing 'alias', the new definition doesn't appear. I'm in a bash shell -- is that the problem. I tried switching to csh, but that didn't seem to help. This... (5 Replies)
Discussion started by: Aworstell
5 Replies
5. Programming
Hi there.
I've got 12 years experience writing C++ on Windows, and 3 years C# on Windows. Now my boss wants me to write a C++ app to run on Unix as a multithreaded 'service' (i.e. a program that runs with no user intervention).
Some quick questions for The Experts:
* Whats the best C++... (3 Replies)
Discussion started by: Rutland Gizz
3 Replies
6. UNIX for Dummies Questions & Answers
Hey guys,
I've seen this posted a few times when i searched but I kinda want to know the cleanest way of doing it.
On Solaris 8 and Solaris 9
What is the best way to disable telnet ssh1 and remote root login premanently?
I've seen posts that say edit /etc/services edit this edit that... (3 Replies)
Discussion started by: kingdbag
3 Replies
7. UNIX for Dummies Questions & Answers
I have multiple questions
How to list or find only Nov month's files?
How can I get state of process like running, stop, or sleep etc?
How can I check dependences of processes?
plz ans any if u can
thx regards,
Mazhar Hussain (3 Replies)
Discussion started by: mazhar99
3 Replies
8. UNIX for Dummies Questions & Answers
what is a assembler
what isa interpreter
what is a compiler
what is a socket
what is a port
what is meant by listening to a port how we do it
how to know version and standard of unix one is using when one is on public access unix account
how to see a jobid in... (1 Reply)
Discussion started by: scimitar
1 Replies
LEARN ABOUT MOJAVE
ppi::token::quotelike
PPI::Token::QuoteLike(3) User Contributed Perl Documentation PPI::Token::QuoteLike(3)
NAME
PPI::Token::QuoteLike - Quote-like operator abstract base class
INHERITANCE
PPI::Token::QuoteLike
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::QuoteLike" class is never instantiated, and simply provides a common abstract base class for the five quote-like operator
classes. In PPI, a "quote-like" is the set of quote-like things that exclude the string quotes and regular expressions.
The subclasses of "PPI::Token::QuoteLike" are:
qw{} - PPI::Token::QuoteLike::Words
`` - PPI::Token::QuoteLike::Backtick
qx{} - PPI::Token::QuoteLike::Command
qr// - PPI::Token::QuoteLike::Regexp
<FOO> - PPI::Token::QuoteLike::Readline
The names are hopefully obvious enough not to have to explain what each class is. See their pages for more details.
You may note that the backtick and command quote-like are treated separately, even though they do the same thing. This is intentional, as
the inherit from and are processed by two different parts of the PPI's quote engine.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.18.2 2011-02-25 PPI::Token::QuoteLike(3)