#!/bin/sh

PATH=/bin:/sbin:/usr/bin:usr/sbin:$PATH

CUR_PN_LEN=`spcp -a | wc -c`
if [ $# -ne 1 ]; then
	echo "Nothing"
	exit 0
fi
if [ $1 -lt 22 ]; then
	echo "Too short"
	exit 0
fi
NEW_PNCODE=`spcp 0 $1`
echo "New PNCODE : $NEW_PNCODE"
fuc -sh sft-string offset=1 data=$NEW_PNCODE

