The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
cut last 4 chars
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
cut last 4 chars
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
06-28-2007
Shell_Life
Registered User
Join Date: Mar 2007
Location: Bahia, Brazil
Posts: 695
Code:
sed
's/.*\(....\)$/\1/' input_file
Shell_Life
View Public Profile
Find all posts by Shell_Life