Search Results

Search: Posts Made By: abhijtr
3,032
Posted By abhijtr
what does dev/null is for ?
if diff a.sh b.sh > /dev/null
then
echo "same, no rebasing required."
else
echo "not same"
do rebasing
record time
fi
4,524
Posted By abhijtr
thanks yaa.
-F"_": using "_" as record separator variable
for (i=1;i<=NF;i++) :make a loop
if($i~/BL[0-9]+/) print $i : if $i contains patten "BL[0-9]+", which you want, then print it
3,032
Posted By abhijtr
How to compare two strings in a file
hello guyzz

please help me out..

I have two file a.sh and b.sh it contains two string SD109 ,SD108 .

I want to compaere these two string .

If a.sh>b.sh

do rebasing

record...
4,524
Posted By abhijtr
can u explain me how did u do it? It will be great if u spend your litl bit time to explain me ?
thanx a lot
can u explain me how did u do it? It will be great if u spend your litl bit time to explain me ?
4,524
Posted By abhijtr
Extract a string from a line
Hiee all

Can anyone tell me how to extract a string from a given line.
STAPISDK_RELEASE_32_BL012_2011_JAN_25.1597
I want to extract BL012 from above.

as 102 keeps on changing i want smthing...
Showing results 1 to 5 of 5

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