Hi P5wizard,
May I ask what you mean " by adding "od -xc" on the same excerpt of the file and post the output back here"? Sorry, I am still a green beginner in this area :)
Maybe I explain a little about my files.
1)I extracted data from certain columns in Excel tables and saved it as...
Hi
I am trying to remove empty lines in my file using:
sed '/^$/d' file.txt
However, nothing seems to be removed. Can you help me here please :)
my file looks like this:
3621 PSMD5 NM_005047
23626 NELL2 NM_006159
23633
23643 CAPN2 NM_001748
23661 PIAS4 NM_015897
23684 STMN1 NM_005563...
Hi PHV,
I'm sorry, I am still very new to AWK etc. May I ask what does it mean inside and tags? Well I lauch using : awk -f scriptfile > outfile
Thanks :-)
curious01
Hi Feherke and PHV,
Thanks for your response. I am using the bash shell and do not have #! in my script. Do I need to modify my script?
Thanks :-)
curious1
Thank you Feherke and p5wizard.
I 've tried both your suggestions but I still get the error message. When I execute using nawk I get error saying:
syntax error at source line 1.
context is awk >>> ' <<<
nawk bailing out at source line 1
So does that mean single quote is an invalid char to use...
Hi,
I am very lost with the errors I get when I execute a previously used command. Though it worked before but now a problem. Is single quote not allowed on some machines? Can anyone help me?
The error message is:
syntax error near line 1
bailing out near line 1
The script I used is:
awk '...
Hi
I am writing again with regards to my previous query (Need help to extract and join...). I tried the code provided by PH, it works fine with my example.
However, when I used it on my actual data tables it produced no result, although there should be matches between the 2 files. The 2 Tables...
Hello PH,
Thank you for your previous code. I tried and it works fine for my example. However when I tried on larger files it always generate no results or matches although there should be matches.Could you help me again? I am pretty new with AWK and am quite lost. Appreciate it if you could...
Hi Everyone,
I am new to AWK and need alittle help! I have 2 tables and I need to extract and join them to one, based on a common identifier in both tables. Example:
Table 1:
S/N vial_ID S_ID value_1 value_2
1 v11 f1001 567 789
2 v12 f2087 786 567
Table2:
name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.