9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
i have this basic code that i wrote to read a file and place it's values to an array. the source/input file will have multiple strings on it that is separated by a whitespace.
sample_list.txt file contents:
script file: sample_list.sh
... (3 Replies)
Discussion started by: wtolentino
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
3. Shell Programming and Scripting
Can you please help me with the below.
ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5 EXTRACT_DT:30-SEP-12 VER_NUM:1"
ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5... (14 Replies)
Discussion started by: Ariean
4. UNIX and Linux Applications
I want the Perl script with versions 5.8.2 and 5.8.5 starting with
The Perl program should read the excel file or text file line by line and taking into an array and search in the UNIX directories for reference file of .jsp or .js or .xsl with path .The Object names... (2 Replies)
Discussion started by: pasam
5. Shell Programming and Scripting
I want to read an array into a flatfile
Please let me know how to do the same
So far this the below code
open (my $data , '<', $ARGV)|| die "could not open $ARGV:\n$!";
my @sorted=sort... (8 Replies)
Discussion started by: Pratik4891
6. Shell Programming and Scripting
I have an array and two variables as below,
I need to check if $datevar is present in $filename.
If so, i need to replace $filename with the values in the array.
I need the output inside an ARRAY
How can this be done.
Any help will be appreciated. Thanks in advance. (2 Replies)
Discussion started by: irudayaraj
7. Shell Programming and Scripting
I have requirement to assign values to variables which are created dynamically.
Below is the code which i am using to achieve above requirement.
set -A... (1 Reply)
Discussion started by: tmalik79
8. Shell Programming and Scripting
I have a piece of code as follows:
while read LINE
var = "$LINE"
done < file
I want to assign value to the array var.
However, when i execute the script i get a error.
Please can you help me know what i am missing.
I ultimately want to... (2 Replies)
Discussion started by: sunrexstar
9. Shell Programming and Scripting
A part of my very basic perl code requires me to read a single value from a text file.
The file output is the following:
Reading image ... done
VOXELNUMBER=10527001... (7 Replies)
Discussion started by: ncl