07-10-2001
variable...
hi.
variable within a variable? i am not shure what you mean (my english si not so good, i am from vienna/austria, living in germany now), but look at this:
VAR1="alex"
VAR2=$($alex)
echo $VAR2
this is for kornshell!
cheers,
alex...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
2. Shell Programming and Scripting
Dear all,
How can i unset arrays. I mean all the subscripts including the array after using them.
Could you direct me to some links of array memory handling in the korn shell.
Thanks (2 Replies)
Discussion started by: earlysame55
2 Replies
3. Shell Programming and Scripting
hi guys,
i wrote this script and it takes some fields from a file and puts it into three different arrays. The first array works just fine but when I try to use the second array (ARRAY1) all i get is a blank value on the screen..
this works fine..i get ARRAY value on the screen just fine
... (1 Reply)
Discussion started by: npatwardhan
1 Replies
4. Web Development
PHP question...
I have an SQL query that's pulled back user IDs as a set of columns. Rather than IDs, I want to use their names.
So I have an array of columns $col with values 1,7,3,12 etc and I've got an array $person with values "Fred", "Bert", "Tom" etc
So what I want to do is display the... (3 Replies)
Discussion started by: JerryHone
3 Replies
5. Programming
if i declare both but don't input any variables what values will the int array and file pointer array have on default, and if i want to reset any of the elements of both arrays to default, should i just set it to 0 or NULL or what? (1 Reply)
Discussion started by: omega666
1 Replies
6. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
8. Programming
I've noticed something interesting in C++ programming. I've always done tricky stuff with pointers and references to have functions deal with arrays. Doing exercises again out of a C++ book has shown me an easier way, I didn't even know was there. It's weird to me.
When dealing with arrays, it... (4 Replies)
Discussion started by: John Tate
4 Replies
9. UNIX for Dummies Questions & Answers
Am using bash
For eg:
Suppose i have a array
arr=(1 2 3 4 5 6 7 8 9 10 11 12)
suppose i give input 5 to a script and script should able to print values greater than or equal to 5 like below:
Input:
5
output:
5,6,7,8,9,10,11,12 (7 Replies)
Discussion started by: manid
7 Replies
10. UNIX for Beginners Questions & Answers
Dear readers,
We have a printer problem with a UNIX system.
The OS is Unix IRIX 6.5
We have connected a printerto the system. If we then make a test print everything goes well . (IP printing)
But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies
LEARN ABOUT OSX
perlriscos
PERLRISCOS(1) Perl Programmers Reference Guide PERLRISCOS(1)
NAME
perlriscos - Perl version 5 for RISC OS
DESCRIPTION
This document gives instructions for building Perl for RISC OS. It is complicated by the need to cross compile. There is a binary version
of perl available from <http://www.cp15.org/perl/> which you may wish to use instead of trying to compile it yourself.
BUILD
You need an installed and working gccsdk cross compiler <http://gccsdk.riscos.info/> and REXEN <http://www.cp15.org/programming/>
Firstly, copy the source and build a native copy of perl for your host system. Then, in the source to be cross compiled:
1.
$ ./Configure
2. Select the riscos hint file. The default answers for the rest of the questions are usually sufficient.
Note that, if you wish to run Configure non-interactively (see the INSTALL document for details), to have it select the correct hint
file, you'll need to provide the argument -Dhintfile=riscos on the Configure command-line.
3.
$ make miniperl
4. This should build miniperl and then fail when it tries to run it.
5. Copy the miniperl executable from the native build done earlier to replace the cross compiled miniperl.
6.
$ make
7. This will use miniperl to complete the rest of the build.
AUTHOR
Alex Waugh <alex@alexwaugh.com>
perl v5.16.2 2012-10-11 PERLRISCOS(1)