Help Needed in arrangind data!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help Needed in arrangind data!
# 8  
Old 06-21-2009
so?? that does not relate to the problem you are trying to solve. you want to arrange data in a file, so what does it have to do with the ftp part? where is the code to arrange data that you have tried?
# 9  
Old 06-21-2009
well thats anautomated script comes with this package, system is generating this file daily.

Wel right now i have no concerned how system is generating this file.

once system generates this file, i will fetch the file through ftp script i mentioned earlier.

but after fetching it, I get RAW data all in mess. So i want to display it as mentioned earlier.

Now can anyone help me out.
# 10  
Old 06-21-2009
Quote:
Originally Posted by jojo123
...
but after fetching it, I get RAW data all in mess. So i want to display it as mentioned earlier.
...
Okay, you get "RAW data all in mess". You want to display it as mentioned earlier.

(a) If you haven't written a script that converts raw data to your format, then try to write one first.

(b) If you have written such a script, then post it here.

tyler_durden
# 11  
Old 06-21-2009
ok i tried using "sort" command

i even tried "awk" and "sed" but it didnt came out, and i knw awk and sed will do this

here's wat i tried

awk '/$4 {print $NF}' filename | more

i later tried paste command

paste -d '|' filename | more (so that once file is replaced with pipe against "," and spaces it can be handled easily)

then i tried using sort command

sort -u filename | more

even sed didnt help me out

sed 's/,/|/ filename | more (i m not sure about this clause, here i tried to replace "," with pipe "|")

i might be using wrong format, so need help.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

data integrity check needed

Hi friends I need copied 100gd of data to other Solaris server. Could anyone help me guiding appropriate way of checking data integrity at source and destination so can I delete the data at source location . How can print/check cksum of individual file in each folder and match it with... (7 Replies)
Discussion started by: hk_kamozalwar
7 Replies

2. Shell Programming and Scripting

Extract data based on match against one column data from a long list data

My input file: data_5 Ali 422 2.00E-45 102/253 140/253 24 data_3 Abu 202 60.00E-45 12/23 140/23 28 data_1 Ahmad 256 7.00E-45 120/235 140/235 22 data_4 Aman 365 8.00E-45 15/65 140/65 20 data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies

3. Shell Programming and Scripting

Help needed to sort data

Hello All, Today i have been asking lots of question, hope to become good in scripting soon with all the wonderful advices i get. The question is i want to sort data a get uniq string from it. The code i am using to generate the output is:- check_sun() { for i in $SUN_PLATFORM do $ECHO... (0 Replies)
Discussion started by: asirohi
0 Replies

4. Shell Programming and Scripting

Help needed to stick on variable data to an output

Hi all, I need help now to stick the value inside $RHAT_PRODUCT and display that in every line in the output. What changes in the code can i do. Please suggest Thanks Adsi #!/bin/sh ECHO=/bin/echo FIND=/bin/find AWK=/bin/awk LS=/bin/ls GREP=/bin/grep ... (1 Reply)
Discussion started by: asirohi
1 Replies

5. Shell Programming and Scripting

Help needed with Sort and uniq data

Hi All, After Sorting directories and files i have got following output as below, now i only want the strings common in them, so the actual output should be as below in the bottom. How do i do that? Thanks -adsi File to be modified:- Common Components for ----> AA... (4 Replies)
Discussion started by: asirohi
4 Replies

6. UNIX and Linux Applications

help needed- data analysis-table-chart-2d plot software

Hi all, I posted the same message under 'Kaleidagraph like software for Ubuntu' thread. I guess there may not be many people familiar with Kaleidagraph. So I post my message under another subject name. I need a tool for Ubuntu 8.10, -which is quick and easy to learn and use (as I am... (1 Reply)
Discussion started by: apprentice
1 Replies

7. Shell Programming and Scripting

Script - Filter data - repeated loop - Help needed...

Dear Friend, I need a help for the below problem.. Can anyone suggest me to do... Input file data: rule { name=mainrule filt=pos loc { x=right + 660 y=top - 3100 } object_kind= DRAW ... (15 Replies)
Discussion started by: vasanth_vadalur
15 Replies

8. Shell Programming and Scripting

help needed .. Unable to write the data to new file after matching the pattern

Hi, i am pretty new to Unix environment ..... Can i get some help from any of you guyz on writing Unix script. my requirement is like reading a csv file, finding a specific pattern in the lines and repalce the string with new string and write it to another file. My file is file ABC123.dat... (3 Replies)
Discussion started by: prashant_jsw
3 Replies

9. UNIX for Dummies Questions & Answers

Howto capture data from rs232port andpull data into oracle database-9i automatically

Hi, i willbe very much grateful to u if u help me out.. if i simply connect pbx machine to printer by serial port RS232 then we find this view: But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Discussion started by: boss
1 Replies
Login or Register to Ask a Question