Search Results

Search: Posts Made By: echo manolis
2,251
Posted By echo manolis
Hi, with your code are 3 different jobs and...
Hi,

with your code are 3 different jobs and not three jobs in one array


job-ID prior name user state submit/start at queue slots ja-task-ID...
2,251
Posted By echo manolis
Qsub + job array + while read; do; done
Linux Server

Hi!

just some help...

I'm using a "Sun Grid Engine" with "qsub"

In one hand I have this code


while read -r H; do echo ${H}; done < list


The number of the lines in...
2,627
Posted By echo manolis
Please, someone could let me know! Best ...
Please, someone could let me know!

Best
echo manolis
2,627
Posted By echo manolis
Thank you Rudic! but I have the same sorting...
Thank you Rudic!

but I have the same sorting error in my original files. The files are sorted !!!

echo manolis

---------- Post updated at 09:21 AM ---------- Previous update was at 08:56 AM...
2,627
Posted By echo manolis
Alternative to join command
Ubuntu, Bash 4.3.48

Hi,

I have 2 files and I want to join them (line by line if the start of the lines is the same, like a ID)

INPUT FILE 1 (tab delimited)
aa_12_12_v_c aaa,asf,afgas,eg...
1,098
Posted By echo manolis
Hi Don Cragun, I made some confusion between...
Hi Don Cragun,

I made some confusion between examples and codes. I corrected my last post. However thank you very much!

Best,
echo manolis
1,433
Posted By echo manolis
Post solved
Post solved
1,098
Posted By echo manolis
ok, many thanks! It is perfect! One more...
ok, many thanks! It is perfect! One more question...

Input
ARC=3.215465:ERF=12244:IDE=122/43:ADA=34 ....
ERF=1235:ARC=5.244:IDE=14/4:ADA=54 ....
ERF=568:IDE=2/43:ADA=78:ARC=1.6254 ....Output...
1,098
Posted By echo manolis
Awk, find and print
Ubuntu, Bash 4.3.48

Hi,

I have this input file with many columns separated with ":"

ARC=121:ERF=12244:IDE=2334:ADA=34 ....
ERF=124:ARC=123:IDE=2344:ADA=54 .......
1,433
Posted By echo manolis
is perfect! thank you !!!
is perfect! thank you !!!
1,433
Posted By echo manolis
I don't know how... I'm not expert on this... I...
I don't know how... I'm not expert on this... I took the code from other sites :-/

awk -F':' '{print NF; exit}' INPUT | awk '{print $1 / 2}' > halfcount

aaa=$(cat halfcount)

awk -F':' -v...
1,433
Posted By echo manolis
Execution Problems with awk
Ubuntu, Bash 4.3.48

Hi,

I have this input file:
a1:b2:c30:g4:h12:j7

and I want this output file:
a1=g4:b2=h12:c30=j7

I can do it this with this code:
awk -F':' '{print...
2,380
Posted By echo manolis
Ohhhhhhhhhhhhhhhh Yessssssssssssssssssssss !!! ...
Ohhhhhhhhhhhhhhhh Yessssssssssssssssssssss !!!

It works !!!

Many thanks at all !!!
2,380
Posted By echo manolis
Hi! I delete $ ... from $1 to 1 I add the...
Hi!

I delete $ ... from $1 to 1
I add the input file name (inputfile)

new version of the code...

for ((b=1; b<=96; b++)) do dddd=*"_"${b}"BC" grep -w "$dddd" inputfile > $dddd ...
2,380
Posted By echo manolis
Loop grep, outputs in files
Hi, I try to create a simply code but I have problems...


Ubuntum, Bash version: 4.3.46 Bash
INPUT file (csv):
TS133_29BC,xx2274305
TS133_29BC,rps4576240
av137_37BC,wfs2274305...
1,291
Posted By echo manolis
OK!!! Post solved
OK!!!

Post solved
1,291
Posted By echo manolis
Many thanks guys! Awk seems too easy to use......
Many thanks guys! Awk seems too easy to use... For now i use only some bash commands...
1,291
Posted By echo manolis
Deletion of strings depending of the value in a specific column
Happy new year guys!

I have a new question for you!


Ubuntum, Bash version: 4.3.46 BashI have a csv file, composed from several columns.

INPUT
x1 x2 x3 x4 x5
as 10 32 T 3
sd 50 7 B 48...
2,974
Posted By echo manolis
Thanks a lot guys! I tried all proposed...
Thanks a lot guys!

I tried all proposed codes. With the "long" codes I lost some peace during insertion of the code in my pipe... sorry, I'm new in this field and it is easy to do mistakes...
...
2,974
Posted By echo manolis
Decimal numbers and letters in the same collums: round numbers
Hi!

I found and then adapt the code for my pipeline...

awk -F"," -vOFS="," '{printf "%0.2f %0.f\n",$2,$4}' xxx > yyy

I add -F"," -vOFS="," (for input and output as csv file) and I change the...
2,025
Posted By echo manolis
Hi guys!, I'm late, sorry, but I need time...
Hi guys!,

I'm late, sorry, but I need time to try your suggestions! and more time to add them to my pipeline and verify if the whole thing works...

It works, thanks a lot !!! I used "shift"......
3,516
Posted By echo manolis
You're right, I had not thought about the output...
You're right, I had not thought about the output type but only the input file type... thanks again !!!
3,516
Posted By echo manolis
works but my output is a multi-space delimeted...
works but my output is a multi-space delimeted file ... no any more comas file :-(
3,516
Posted By echo manolis
Thanks Aia, unfortunately I can't do it to...
Thanks Aia,

unfortunately I can't do it to work with comas files. I usually work on bash... and I don't know awk.


awk -vRM="xxx" 'NR == 1 {for (i=1; i<=NF; i++) if ($i == RM) DL[i]} {for (i...
3,516
Posted By echo manolis
Dear RudiC, your script is ok and I use it...
Dear RudiC,

your script is ok and I use it with tab files.

I would like to use it with csv files.

I think that I have to add -F or -F or -F"," or -F',' .... but I can't find the right place...
Showing results 1 to 25 of 30

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