Extraction Issue
|
Original Message
|
Name: prashanthraju
Date: March 29, 2007 at 03:32:04 Pacific
Subject: Extraction IssueOS: UnixCPU/Ram: 512 MBModel/Manufacturer: HP |
Comment: Hi all, I extracted one line from from a file using ls command & output is as follows Deployed : 25 File uploaded : 2560 File Rejected : 1 Now i need to extract only 2560 from the above line..Output will be always same Can any one help to extract this value. Prob with cut command is that it cuts the file only..... Thanks in advance Prashanth
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: nauj
Date: March 29, 2007 at 07:59:12 Pacific
Subject: Extraction Issue |
Reply: (edit)Try: echo "Deployed : 25 File uploaded : 2560 File Rejected : 1" | cut -c31-35 Hope it helps
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: