The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
parsing output from SQL querry ludvig Shell Programming and Scripting 7 10-23-2007 06:42 AM
parsing output from a diff command... kam Shell Programming and Scripting 5 05-30-2007 12:26 AM
problem parsing output file ragha81 Shell Programming and Scripting 13 03-21-2007 02:06 PM
problem parsing process-output victorin Shell Programming and Scripting 3 07-25-2006 06:31 AM
parsing output from ls command ajaya Shell Programming and Scripting 3 05-10-2006 11:22 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-15-2008
looza looza is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 23
parsing output

I have a file that contains the output of the ls -iR command, something like this:



./results:
2504641011 result_1410 2500957642 result_525
2504641012 result_1425 2500957643 result_540

./tests/1:
2500788755 1 2500788743 1000

./tests/2:
2500788759 3 2500788758 999


I need to parse it so that I have the directory in one file and the fnames and inodes in another. How can I do this?

Thanks!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0