The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Substring not working if more than 1 space
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Substring not working if more than 1 space
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
08-22-2008
prassu
Registered User
Join Date: Aug 2008
Posts: 6
perfect !!
just replaced
echo $line with echo "$line" |
awk '{print substr($0,4,3)}'
Thanks a lot..
prassu
View Public Profile
Find all posts by prassu
Find prassu's past nominations received
Find prassu's present nominations given