10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Does anyone know how to set any character as the field separator with awk/nawk on a solaris 10 box. I have tried using /./ regex but this doesnt work either and im out of ideas.
thanks (7 Replies)
Discussion started by: chronics
7 Replies
2. Shell Programming and Scripting
Hi Everyone,
#!/usr/bin/perl
use strict;
use warnings;
my @test=("a;b;qqq;c;d","a;b;ggg;c;d","a;b;qqq;c;d");
would like to split the @test array into two array:
@test1=(("a;b;qqq;c;d","a;b;qqq;c;d"); and @test2=("a;b;ggg;c;d");
means search for 3rd filed.
Thanks
find the... (0 Replies)
Discussion started by: jimmy_y
0 Replies
3. HP-UX
hi,
iam getting error when i assign a variable to an array of more that 315 character in length
set -A array <variable>
<variable> value is 000001 000002 and up to 000045
it is giving error as
"The specified subscript cannot be greater than 1024."
can any one help me to solve this (2 Replies)
Discussion started by: gomathi
2 Replies
4. Shell Programming and Scripting
I should trasfer some files by xxx.xxx.xxx.xxx to local host.
In order to check the function works i tried to transfer a single file and I typed:
scp -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas
At this point i haven't response anch i have to type CTRL+C to return to... (2 Replies)
Discussion started by: andreac81
2 Replies
5. UNIX for Dummies Questions & Answers
Helo ,
I m using RHEL 4.
If I run 'ls -laF | more', response is properly display.
but when I run If I run 'ls -laF | less', the response is garbled
what to do to remove this?
Regards,
Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
6. Shell Programming and Scripting
Hi Gurus,
How do I dynamically set up an array. Below is my code
if ]
then
set ecomm_task_limit = '${ecomm_srvr}'
fi
Here, I want to set values in the array "${ecomm_srvr}" into ecomm_task_limit upon each iteration. Finally I want to display all the values in the new array... (4 Replies)
Discussion started by: ragha81
4 Replies
7. UNIX for Dummies Questions & Answers
Relatively new poster but long time reader. I tried searching all threads for similar situations with mine but I've had no luck with some of the solutions.
I have a script (script.ksh) that is getting information from an Oracle DB and spooling it into a text file (log.txt). I would then like... (1 Reply)
Discussion started by: Crios121
1 Replies
8. Shell Programming and Scripting
I need to do something like this:
KEYS=
for key in $KEYS
do
echo $key
done
The KEYS are static values in my script, I'm just having trouble with setting them as separate values.
Thanks! (3 Replies)
Discussion started by: TheCrunge
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
*.xml files stored on date wise folders. I need to extract *.xml files from all the folders. File size is lessthan or equal to 2K. Please let me know command or some shell program to due this job on linux m/c
This is urgent,
Thanks in advance
- Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies
10. Programming
hello
i am new user to this site.
i want to know about equal command for gotoxy() which is used in dos operating system and also equal hedder file for conio.h?
please give me responce to me if anybudy know about that. (5 Replies)
Discussion started by: g_s_r_c
5 Replies