Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
German Leon
Carol-fi
Commits
e5b04967
Commit
e5b04967
authored
Jan 12, 2021
by
German Leon
Browse files
Delete res-new-ind.sh
parent
8f85a4ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
res-new-ind.sh
deleted
100755 → 0
View file @
8f85a4ef
#cut -d, -f 3,4,9,10,11,12,13,14,15 fi_lavaMD_single_bit_RF.csv
./res-new-ind-simple.sh
$1
reg
=
2
num_reg
=
0
;
for
i
in
$(
seq
0 1 255
)
do
ib
=
$(
echo
"R"
$i
)
sib
=
$(
echo
"R"
$i
","
)
n
=
$(
cut
-f
$reg
-d
,
$1
|grep
-w
$ib
|wc
-l
)
if
[
"
$n
"
-gt
0
]
;
then
echo
$ib
"="
$n
num_reg
=
$[$num_reg
+ 1]
fi
done
echo
"Registros usados="
$num_reg
for
i
in
$(
seq
0 1 255
)
do
ib
=
$(
echo
"R"
$i
)
sib
=
$(
echo
"R"
$i
","
)
n
=
$(
cut
-f
$reg
-d
,
$1
|grep
-w
$ib
|wc
-l
)
if
[
"
$n
"
-gt
0
]
;
then
echo
"============"
$ib
"========="
head
-1
$1
>
filetempreg.csv
grep
$sib
$1
>>
filetempreg.csv
./res-new-ind-simple.sh filetempreg.csv
fi
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment