Use of sed in removing a particular pattern from a file name
=============================================
#! /bin/ksh
M=`echo manu_rpt | sed 's/_rpt//'`
echo "$M"
R="$M"_sync1
echo "$R"
=============================================
#! /bin/ksh
M=`echo manu_rpt | sed 's/_rpt//'`
echo "$M"
R="$M"_sync1
echo "$R"
No comments:
Post a Comment