Search Results

Search: Posts Made By: rahul303
11,241
Posted By rahul303
Thankssssssssssssss
It worked !
:)
3,121
Posted By rahul303
small issue
It's working perfectly fine !
Tons and Tons of thanks ....
But only 1 small issue came :(

I am loosing the original blank spaces in the final output :
So if in main file values are like this :...
11,241
Posted By rahul303
Not working in script!
cat my_file | while read line
do
last=`echo $line | cut -c 3-`
echo "$last"
done

my_file:
1US8738297897918[space][space][space]0[space][space]0[space][space]0...
3,121
Posted By rahul303
Situation has changed ! :(
This time file_to_be_processed has values like this:

1US146576287192498004994 0 0 0
1US144566547890498004994 0 0 0...
11,241
Posted By rahul303
Storing string with space
Hi all
I am trying this simple command:
a="abc abc"
echo $a

output is: abc abc
But expected output shoould be :abc abc
i.e spaces in real string are geting truncated to one...
3,121
Posted By rahul303
If tried getting character 28 to 37 from column: ...
If tried getting character 28 to 37 from column:
s= substr($1,28,10)
This didn't work:
As I need to replace character 28to 37 in first column with value from mapping file.
Plz help !
3,121
Posted By rahul303
lookup key is of length 10 and it does not vary ,...
lookup key is of length 10 and it does not vary , will this work then ?
3,121
Posted By rahul303
Looking into file !
Hi All,

I am in a situation wherein I have one look-up file or say mapping file which has two columns of data , suppose:

LookupFile.txt:
col1 col2
6589 7879
8787 0909...
2,970
Posted By rahul303
Similarly in yet another requirement i need to...
Similarly in yet another requirement i need to add another field:
Field description:
Between 12 and 13 character in a row.i.e in first column
Value:NULL
Length:5
i.e 5 spaces after 12 th...
2,970
Posted By rahul303
oops...seems we are not on same page !
He JimD
Thanks for your effort ! But I think we are not on same path....!
Let me explain my requirement more simply now,...

In my file I am getting rows as like this :
...
2,970
Posted By rahul303
Editing file
Hi,
I am in a situation wherein am getting file file certailn values
suppose
1u56979hhghhklklkkkjkjkjk 0 0 0
The file will have values like above only.
I need to add another field...
Showing results 1 to 11 of 11

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