Search Results

Search: Posts Made By: Revansidhu
1,626
Posted By Revansidhu
use this command awk...
use this command

awk -F"<oID>|</oID>|<status>|</status>" '{print $2":"$4}' file | awk -F: '{ if( $1 == "A123") {print "oID:"$1" status:"$2} else print "oID not maching" }'


---------- Post...
2,162
Posted By Revansidhu
Try this one awk '{print $1 " "$2 " "...
Try this one

awk '{print $1 " "$2 " " $3-($1+$2)}' file
0012.00 0010.00 1554.53
0100.00 0500.00 352.83
0500.00 0500.00 760.74
0000.00 0000.00 1536.04
0000.00 0000.00 389.08
0000.00 0000.00...
3,137
Posted By Revansidhu
try this one! lineNumber=1 lstMaxLine=`wc...
try this one!

lineNumber=1
lstMaxLine=`wc -l serverdetailsfile.txt | awk '{print $1}'`
while [ $lineNumber -le $lstMaxLine ]
do
S_server=`head -$lineNumber serverdetailsfile.txt | tail...
3,845
Posted By Revansidhu
try this one ! code: i=0 while [ $i -le 4 ]...
try this one !
code:
i=0
while [ $i -le 4 ]
do
i=`expr $i + 1`
cp details.csv details$i.csv
done
1,497
Posted By Revansidhu
Try this if [ $1 == CTRY ]; then awk -F...
Try this
if [ $1 == CTRY ]; then

awk -F "&" '{print $1}' delete.txt | awk -F "=" '{print $2}'
elif [ $1 == PROJTYPE ]; then
awk -F "&" '{print $2}' delete.txt | awk -F "=" '{print $2}'
else...
Showing results 1 to 5 of 5

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