Search Results

Search: Posts Made By: apatil65
2,909
Posted By knight_eon
Please try this: let MSTNUM=$(echo...
Please try this:


let MSTNUM=$(echo masterCSF242323.img | sed -e 's/[^0-9]*//g')
let IDNUM=$(echo indexCSF242323.img | sed -e 's/[^0-9]*//g')

if [[ ${MSTNUM} -eq ${IDNUM} ]]; then
...
2,909
Posted By kalpeer
Try this #! /bin/bash file1=`ls...
Try this

#! /bin/bash
file1=`ls /tmp/masterCSF* | head -1`
file2=`ls /tmp/indexCSF* | head -1`
if [ -z "$file1" ]; then
echo " Only indexCSF file is available"
exit 1
fi
val1=`echo...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy