The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to cut last 10 digits off
.
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
:
How to cut last 10 digits off
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
08-28-2006
tayyabq8
Moderator
Join Date: Nov 2004
Location: Bahrain
Posts: 579
One otherway:
Code:
echo $line | awk '{print substr($0, length($0)-9)}'
tayyabq8
View Public Profile
Find all posts by tayyabq8
Find tayyabq8's past nominations received
Find tayyabq8's present nominations given