Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-19-2004, 08:30 AM   #1
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Rep: Reputation: 15
korn question

I have a list that I need to use as input into another command to get the output I need for this project. can someone help me or point me to some good resources out there?

This will give me the list I need omnimm -list_pool LTO-Ultrium | awk '{print $2}'
We then simply need to feed this commands output into this next commandsfirst fireld omnimm -modify_medium <field1> <field2l> <field3> to get the out put I need.

Old 08-19-2004, 12:54 PM   #2
jim mcnamara
Registered: May 2002
Posts: 964

Rep: Reputation: 36
let i=0;
for command in `omnimm -list_pool LTO-Ultrium | awk '{print $2}'`
omnimm -modify_medium  "$field1"  "$field2"   "$field3"
Old 10-05-2004, 02:06 PM   #3
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Original Poster
Rep: Reputation: 15
I ended up solving this problem with the hint you gave Thanks! Unfortunately I lost some data in my home directory and cant remember how I used that logic to solve the problem. but I needed to comback and thank you regardless.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Korn shell and Arrays jpc82 Programming 1 06-28-2005 02:27 AM
Arrays in Korn Shell...? vous Programming 1 03-26-2005 01:35 AM
install korn shell namgor Linux - Newbie 1 07-12-2004 02:52 PM
Configure Korn SnowSurfAir Linux - Software 0 07-27-2003 09:37 PM
a t&t korn shell 93 shook Linux - Software 4 02-01-2003 01:54 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration