The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
sed replace with fixed length
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
sed replace with fixed length
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
05-14-2008
Franklin52
Moderator
Join Date: Feb 2007
Posts: 1,975
Quote:
I will not be sure for every record what is the length of the $sno, it could be 1 or 2 or 3.
How to handle in this situation?
Do you get the numbers from a file?
Regards
Last edited by Franklin52; 05-14-2008 at
06:03 AM
.
Franklin52
View Public Profile
Find all posts by Franklin52