If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > pattern matching

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-03, 12:47
lilshan lilshan is offline
Registered User
 
Join Date: Jan 2003
Posts: 1
Red face pattern matching

How can I remover protection mode, user, size in bytes such things?
when I use this command :
ls -li `find <filename> -type f`
Reply With Quote
  #2 (permalink)  
Old 01-09-03, 08:41
WingMan WingMan is offline
Registered User
 
Join Date: Aug 2002
Location: UK
Posts: 87
Could you post an example of what you want, as I don't understand the question
Reply With Quote
  #3 (permalink)  
Old 01-09-03, 12:53
svelasco svelasco is offline
Registered User
 
Join Date: Jun 2002
Location: Argentina
Posts: 78
Question

May be you need something like this:

ls -li | awk '{ print $10 }'

But I donīt know what you want to do.

Bye

Sebastian
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On