The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replacing the last character for each line in a file
.
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
:
Replacing the last character for each line in a file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-27-2009
cfajohnson
Shell programmer, author
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
Use
awk
's
substr
and
length
functions.
cfajohnson
View Public Profile
Visit cfajohnson's homepage!
Find all posts by cfajohnson
Find cfajohnson's past nominations received
Find cfajohnson's present nominations given