Search Results

Search: Posts Made By: harish468
1,548
Posted By harish468
Hey Thanks for the reply I dont want to...
Hey Thanks for the reply

I dont want to generate another file (or) change the input file.
I need to read the records which are sorted to store in variables.
i=0
while IFS="|" read -r usrId...
1,548
Posted By harish468
How to read records in a file and sort it?
I have a file which has number of pipe delimited records.
I am able to read the records....but I want to sort it after reading.
i=0
while IFS="|" read -r usrId dataOwn expire email group secProf...
4,266
Posted By harish468
Original code which has no mv error
create_254()
{
> 1SMH_WICD_V5_2_54.txt
i=0
SORT=$(printf "%s\n" ${group_ARR[@]} | sort -n | uniq)
set -A SORTED_ARR `echo ${SORT}`
while [ $i -lt ${#SORTED_ARR[@]} ]
do

print...
4,266
Posted By harish468
Mv: cannot access error after nested while loop
I have two methods...create_2_54 and create_2_55
I have added a nested while loop(previously it has just one loop) in create_2_54
the mv command(which comes first in 2_55) is not working.
for name...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy