Search Results

Search: Posts Made By: max_payne1234
2,455
Posted By max_payne1234
basically this part of script is posing all the...
basically this part of script is posing all the problem...
The abcd.txt has some 92,00,000 records...
$file_nam contains the list of headers for which temp files will be created

so any ideas...
2,455
Posted By max_payne1234
unix script optimization
I have a file which contains 9,200,000. It contains 125 clolumns. I have to rearrange some columns and exclude some of them. I scripted the following script to do the same. It is working fine but it...
10,054
Posted By max_payne1234
perl pack and unpack commands
I have a file that contains user id and corresponding password.
Lets say password is "help". The below command will create a hex value for string "help".
perl -e 'print unpack "H*","help"'

So...
12,579
Posted By max_payne1234
thanks for the reply....igot one more solution .....
thanks for the reply....igot one more solution .. to use eval

var=var$counter
eval var =\$$var

it works fine
12,579
Posted By max_payne1234
dynamic variables
I am new to unix and the following problem is bugging me.:confused:

var1="hello1"
var2="hello2"
var3="hello3"
counter=1
while [ $counter -le 3]
do

echo $var$counter

done

the idea...
2,660
Posted By max_payne1234
Thanks a ton!! let me try it ..wil get back to...
Thanks a ton!! let me try it ..wil get back to you with latest
2,660
Posted By max_payne1234
Clean directories by reading from file
I have a file in following format
directory1=/out/log
purgedays1=4
extn1=log,out,txt
directory2=/clean/log
purgedays2=4
extn2=log,out

now i need need to create a script that reads this file...
Showing results 1 to 7 of 7

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