Try using perl instead... Wasier control over formating...
-Rob
Systems Programmer "Open the doors of your stores
rob@fgi.net 24 hours a day"
morgan@springpatch.com Springpatch Mall
http://www.springpatch.com
On Fri, 15 Aug 1997, Alexander Morales wrote:
> I am running Linux redhat and I have edited the adduser script to add a
> user in the radius file whenever I add a new user with the script. Problem
> is the tabs dont align well and I dont know how I can get to to align
> correctly everytime. Here is the entry I added.
>
>
> function addradius()
> {
> echo "adding to radius"
> echo "$LOGIN Password = \"$PASSWORD\"" >>$RADIUS_FILE
> echo "copying file to secondary radius server"
> cp $RADIUS_FILE $SEC_RADIUS
> }
>
>
>
> here is what the file looks likes at times
>
>
> dfsoto Password = "jdr566"
> r Password = "ddf5"
> y Password = "fdfdf4"
> try Password = "lamersville"
> tritan Password = "kill"
> oioe Password = "pussman"
>
> Integrated Network Solutions Corp. www.insc.net
> 305.436.0910 admin@insc.net Serving South Florida
>