Search Results

Search: Posts Made By: angie1234
2,407
Posted By angie1234
Input files are double-quote fixed length...
Input files are double-quote fixed length de-limited files.
I have used double-quotes in this format "${FILENAME}".dat , as the filename with extension as such isn't stored in any variable. ...
2,407
Posted By angie1234
This is just an example. Just want to mention the...
This is just an example. Just want to mention the skeletel of the loop. Have huge number of line parsing conditions inside the loop .

And as for awk , the body of the loop contains many...
2,407
Posted By angie1234
Error while reading line by line.
Hi ,

I have a number of files having an average line count of 10,000 lines. I have to read each file line by line and output the parsed lines into one single output file. The combined size of all...
2,951
Posted By angie1234
Help with Ping command.
Hi,

I have a shell script, that has to run in putty for days together. So , I need to keep the network server connection alive and running. The execution of shell script shouldn't be interrupted...
2,275
Posted By angie1234
[Solved] Help with Sort command (ksh)
hello everyone,

I have file with de-limited values in random order shown below, where C1V0 represents column1 value1,
C2V0 represents column2 value 2, and so on.
Column0 is a constant value...
31,568
Posted By angie1234
Yes, I have FTPed the file. And I have used ASCII...
Yes, I have FTPed the file. And I have used ASCII mode to transfer. I guess that is why the file got corrupted. After using the Binary command, it works fine.
Thanks Corona!!
31,568
Posted By angie1234
Error while Unzipping
Hi,

I have transfered a Zip file from Windows to Unix and tried to Unzip it in Unix using ksh. But it throws an error:


error [determined.zip]: missing 24 bytes in zipfile
(attempting to...
2,346
Posted By angie1234
Thanks Methyl !! This works fine. But I...
Thanks Methyl !! This works fine.

But I need a clarification. Before, I have used 'tr' in two different expresions similar to 'sed' in the below code and it didn't work.

a=`echo "$line" | cut...
2,346
Posted By angie1234
Hi, Can you please explain what is being...
Hi,

Can you please explain what is being done in the above three codes.
Thanks
2,346
Posted By angie1234
This is an example of $lines: ...
This is an example of $lines:

111"987"2010-11-21 12:05:41.000"18"A"123"4"2010-11-21 12:06:05.000" xxxxxxxxxxx $62.99 ""
111"654"2010-11-21...
2,346
Posted By angie1234
Hi Scrutinizer, $-symbol might not always...
Hi Scrutinizer,

$-symbol might not always be the leading character. The string most of the time contains leading spaces.

And sorry I have just posted the code I was working on to test how it...
2,346
Posted By angie1234
Stripping of a symbol from string not working properly
Hi All,

I used this code to strip-off $-symbol from string values.


a="$980"
b="897"
a=`echo "$a" | sed 's/$/ /g'`
b=`echo "$b" | sed 's/$/ /g'`
echo "$a"
echo "$b"


but this...
1,300
Posted By angie1234
Hi, the text <<read>> and <<do not read>> are...
Hi,
the text <<read>> and <<do not read>> are not part of the input file. That is why I highlighted with red.
The lines <read> are to be parsed to another output file.
<do not read> have to be...
1,300
Posted By angie1234
search pattern and read lines
Hi,

I have a huge de-limited file which has pattern :


99"9876"2010-11-21 12:51:01"J"MNOPQRS ID# 2-1234-1234-0099-9876-0 "" <<read>>
99"9876"2010-11-21 12:51:01"K"R-EMP# 01234567 ...
16,723
Posted By angie1234
Hi Corona, have done the same in my first...
Hi Corona,

have done the same in my first printf statment, but it isn't working.shows the same error.
16,723
Posted By angie1234
If a variable is blank, It gives an error <...
If a variable is blank, It gives an error < Specify a number instead of '~' >
16,723
Posted By angie1234
Text Formatting using printf[ksh]
Hi All,

I am attempting to create a fixed length tilde delimited file using printf.
The variables are initialized to fixed length blank spaces

a=' '
b=' '
c='...
3,639
Posted By angie1234
Thanks Scrutinizer for the fix. I was struggling...
Thanks Scrutinizer for the fix. I was struggling a lot on this. It was really helpful. :D

---------- Post updated at 07:38 PM ---------- Previous update was at 07:34 PM ----------

Hi ygemici,...
3,639
Posted By angie1234
Extracting text using cut command
Hi All,

I need to extract text 'ULTIMATE and 4spaces after it' from below line

77"2686"2010-11-21 14:09:13.000"4"I"200"1"2010-11-21 14:09:14.000"001:S087110131 ULTIMATE 4.99 T""...
10,017
Posted By angie1234
Thanks a lot!! It works fine.
Thanks a lot!! It works fine.
10,017
Posted By angie1234
Hi, Actually the string value is obtained from...
Hi,
Actually the string value is obtained from another file.It can be either a postive number or a negative number in the form of a string.
If it is a psotive(547665.98) get a positive decimal...
10,017
Posted By angie1234
Converting string to negative decimal value
I need code for converting a string to a negative decimal value.
For ex, i have the value in the form of a string (5489.95-) i need to convert it into decimal value (-5489.95) while getting output...
1,910
Posted By angie1234
kindly reconsider my post in shell & scripting forum
Hi,
this is regarding my post "ksh: how to extract strings from each line based on a condition" . Its not a home work or an assigment. I actually work in retail domain. The data I handle is very...
4,750
Posted By angie1234
ksh: how to extract strings from each line based on a condition
Hi ,
I'm a newbie.Never worked on Unix before. I want a shell script to perform the following:
I want to extract strings from each line ,based on the type of line(Nameline,Subline) and output it to...
Showing results 1 to 24 of 24

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