Search Results

Search: Posts Made By: prav_chidugulla
980
Posted By prav_chidugulla
What do you mean by bad tab. Can you be more...
What do you mean by bad tab. Can you be more specific.

You mean for the records starting with "ID" having tab ? If tab is at the end of the record it should not be a issue.
980
Posted By prav_chidugulla
Hi , If you are not specific to use perl you...
Hi ,
If you are not specific to use perl you can try this awk sctipt.
BEGIN { IFS="\t"; }
{
if ($1=="ID") { fid=$2; }
if ($1!="ID") {
printf(("%s\t%s\n"),$0,fid);}
...
784
Posted By prav_chidugulla
Hi, Use back slash before $ ant -q...
Hi,
Use back slash before $

ant -q -buildfile \$HOME/\$3/build.xml \$4
4,614
Posted By prav_chidugulla
Input: rs529715 CFD rs1550758 CIDEB ...
Input:

rs529715 CFD
rs1550758 CIDEB
Magmas
Magmas
rs12542019 CPNE1
RBM12
rs10515181 CPNE1
RBM12
rs4411112 CPT1A

awk 'BEGIN{i=0;}{if ( NF == 1 ){print i,$1;}else{print $0;i=$1;}}'...
4,614
Posted By prav_chidugulla
awk 'BEGIN{i=0;}{if ( NF == 1 ){print...
awk 'BEGIN{i=0;}{if ( NF == 1 ){print i,$1;}else{print $0;}i=$1;}'
Forum: Linux 10-06-2011
1,734
Posted By prav_chidugulla
Wrong Integer value
I am migrating some shell script from Unix to Linux and i am getting wrong value for integer variable.

In Unix:
integer X=007300
echo $X
7300

In Linux:
integer X=007300
echo $X
3776
...
Showing results 1 to 6 of 6

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