Output of bacrp command has return+line-feed dos style output. Added return+line-feed to echo statements to keep output consistent if piped to a file. It will now create a valid DOS file.
This commit is contained in:
@@ -38,7 +38,7 @@ fi
|
|||||||
|
|
||||||
run_test()
|
run_test()
|
||||||
{
|
{
|
||||||
echo "Test: Read Required Properties of Device Object $1"
|
echo -e -e "Test: Read Required Properties of Device Object $1\r"
|
||||||
echo -n "OBJECT IDENTIFIER:"
|
echo -n "OBJECT IDENTIFIER:"
|
||||||
./bacrp $1 8 $1 75
|
./bacrp $1 8 $1 75
|
||||||
echo -n "OBJECT NAME:"
|
echo -n "OBJECT NAME:"
|
||||||
@@ -82,7 +82,7 @@ run_test()
|
|||||||
echo -n "DATABASE REVISION:"
|
echo -n "DATABASE REVISION:"
|
||||||
./bacrp $1 8 $1 155
|
./bacrp $1 8 $1 155
|
||||||
if [ $OPTIONAL -eq 1 ] ; then
|
if [ $OPTIONAL -eq 1 ] ; then
|
||||||
echo "Test: Read Optional Properties of Device Object $1"
|
echo -e "Test: Read Optional Properties of Device Object $1\r"
|
||||||
echo -n "LOCATION:"
|
echo -n "LOCATION:"
|
||||||
./bacrp $1 8 $1 58
|
./bacrp $1 8 $1 58
|
||||||
echo -n "DESCRIPTION:"
|
echo -n "DESCRIPTION:"
|
||||||
@@ -132,7 +132,7 @@ run_test()
|
|||||||
echo -n "PROFILE NAME:"
|
echo -n "PROFILE NAME:"
|
||||||
./bacrp $1 8 $1 168
|
./bacrp $1 8 $1 168
|
||||||
fi
|
fi
|
||||||
echo " "
|
echo -e " \r"
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ $# -gt 0 ] ; do
|
while [ $# -gt 0 ] ; do
|
||||||
|
|||||||
Reference in New Issue
Block a user