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 -->
#
1
(
permalink
)
08-28-2006
psarava
Registered User
Join Date: Aug 2006
Posts: 3
How to cut last 10 digits off
Hi I'm new to this. I need to cut off the last 10 digits from a line.
I've used awk {'print $4'} filename.txt | cut -c 32-42 but this does not guarantee only the last 10 characters.
Please help. Thanks.
Sara
psarava
View Public Profile
Find all posts by psarava
Find psarava's past nominations received
Find psarava's present nominations given