tab delimated


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting tab delimated
# 1  
Old 05-17-2010
tab delimated

Hi,

when I run shell command it will return a tab delimated output from a file.
e.g.
system Apr16#abc

how can I capture this o/p in shell variables and can use it for further processing .

Thanks in advance.
# 2  
Old 05-17-2010
Code:
var=$( system Apr16#abc )

# 3  
Old 05-17-2010
Maybe
Code:
output=$(shell command)

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Replace a column in tab delimited file with column in other tab delimited file,based on match

Hello Everyone.. I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files FileP.txt ... (2 Replies)
Discussion started by: YogeshG
2 Replies

2. Shell Programming and Scripting

Tab after every two columns

Hello, I have a huge file which contain space separated columns. I want to add a tab after every two columns in the file. for example input A B C D E F G H A B C D E F G H output A B C D E F GH A B C D E F GH Please help. (1 Reply)
Discussion started by: ryan9011
1 Replies

3. UNIX for Dummies Questions & Answers

tab delimited file that is not tab delimited.

Hi Forum I have a tab delimited file that opens well in Openoffice calc (excel). But when I perform any operation in command line, it reads the file incorrectly. When I 'save As' the same file in office as tab delimited then it works fine. The file that I think is tab delimited is actually... (8 Replies)
Discussion started by: imlearning
8 Replies

4. Shell Programming and Scripting

comma with delimated

ca any one give the example for this and another Temp table having the column size Id Column_name Col_Value Col_size 1 col1 satya 6 2 col2 sankar 9 3 col3 vanitha 10 i have a Flat file of records like ... (1 Reply)
Discussion started by: SeenuGuddu
1 Replies

5. Shell Programming and Scripting

a tab between values

Hi, I have a file that looks like this: 36- 9+ 45- 43+ 400- 700+ I want to put a space between the number and the -/+ sign. So the output file will look like this 36 - 9 + 45 - 43 + 400 - 700 + (3 Replies)
Discussion started by: kylle345
3 Replies

6. Shell Programming and Scripting

Replace with tab

I have text file, i want to replace all the charecters with tab. suppose: cat abc.txt dfjkdf dfdfd fd fd the output should have 4 lines and each line will have 1 tab. Thanks :confused: (2 Replies)
Discussion started by: javeed7
2 Replies

7. UNIX for Dummies Questions & Answers

Cron Tab help

Hi All I have a requirement to schedule my script through cron tab. I have 2 scripts to schedule. Case1:My script should run every day in the server.It should be triggered in every 2 mins interval.i.e suppose i implemented the script now my script should run every 2 mins.How can i... (6 Replies)
Discussion started by: dr46014
6 Replies

8. Shell Programming and Scripting

conert the pipe delimated file into xls format

Hi I have spool file which is pipe delimated and i want to convert it into xls . Is any tool or method availabe in UNIX for this kind of conversion (2 Replies)
Discussion started by: prasadg
2 Replies

9. UNIX for Dummies Questions & Answers

tab every new line

Hi ,need script to tab every new line of sorted output Thanx (2 Replies)
Discussion started by: chassis
2 Replies

10. Shell Programming and Scripting

Cron tab help need

need help to write crontab my crontabe file every minute to rsh and check that it is running or not i want to change it on every 1o minute please help me example of my crontab #check if system is running * * * * * rsh metal3 /users/test/run.server i want to check that every 10... (2 Replies)
Discussion started by: deepa20
2 Replies
Login or Register to Ask a Question