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
here is the pesudo file.
SOMEStrinG1234 RERRRR EEERRRREER
SOMEStrinG1224 REREREEEREERRR REE
SOMEStrinG1204 RERE EEEEEERRRRRRR
SOMEStrinG1294 REREEREEE ERRRREER
SOMEStrinG1284 REREREEEEEERR REER
here is my attempted code
#include... (3 Replies)
Discussion started by: briandanielz
3. Shell Programming and Scripting
I have a file called "readfile" it contains below parameters
word=/abc=225,/abc/cba=150 three=12 four=45 five=/xyz/yza
likewise multiple line.
From the above file, I have to read "word"
output should be like,
these values need to be put in... (3 Replies)
Discussion started by: munna_dude
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 am trying to read the contents of a file using array credentials in unix. The file I am trying to read is tab separated and contains the below contents.
# partnerid Direc Server Port Source_Dir Target_Dir Mask Remove Files Passwordless Compare Files ... (3 Replies)
Discussion started by: aartikara
8. Shell Programming and Scripting
I need to read a value of the variable into array so each character/digit will become an array element,for example:
The resulting array should hold each digit as an element.
Thanks a lot for any help -A (7 Replies)
Discussion started by: aoussenko
9. UNIX for Dummies Questions & Answers
How u all doing?
I am having tough time to achieve this I have a unix .ksh script which calls
Right now I harcoded column id's in sql script but I want to read them from a txt file
I want to read this... (4 Replies)
Discussion started by: pinky