The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to trim the leading zeroes in a Currency field ?
.
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 trim the leading zeroes in a Currency field ?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
05-29-2007
praveenkumar_l
Registered User
Join Date: May 2007
Posts: 36
Try this too
sed
'/[+-]/,/[1-9]/ s/[+-]00*//g' file
praveenkumar_l
View Public Profile
Find all posts by praveenkumar_l
Find praveenkumar_l's past nominations received
Find praveenkumar_l's present nominations given