Search Results

Search: Posts Made By: livbaddeley
2,192
Posted By livbaddeley
Thank you very much, the code you helped me with...
Thank you very much, the code you helped me with works fine!
2,192
Posted By livbaddeley
Sure, I'll post again tommorrow morning when I...
Sure, I'll post again tommorrow morning when I get back to my office. Thanks for your help.

Liv
2,192
Posted By livbaddeley
I apologise for not being more specific. I...
I apologise for not being more specific.

I am using Linux, bash shell.

I get no error message when implementing, however the output file I get is completely blank, although I know for sure that...
2,192
Posted By livbaddeley
Hi, Thank you very much for your reply. I...
Hi,

Thank you very much for your reply. I think I also tried with the brackets you suggest but it didn't work. (I have left my office now so I cant check until tomorrow morning, I'm on UK time.)
...
2,192
Posted By livbaddeley
awk Question: How to remove lines in which $3 == $1 +4
Hi all,

I am trying to delete all lines from a file in which the value in 'column 3' is not the value of 'column 1' + 4. The code below that I tried doesn't work.


awk '$3 == $1 + 4 {print}'...
1,772
Posted By livbaddeley
Hi, I'm running Linux and so using bash...
Hi,

I'm running Linux and so using bash shell.

I have to admit I haven't tried anything yet as I am quite new to Linux (I am a new researcher) and I can only do very simple manipulations to...
1,772
Posted By livbaddeley
Help required deleting specific lines from file
Hi,

I have a file with 20 columns of data and hundreds of lines of the same format.

Here is an example line. The data repeats underneath with the same format.

15 1 4 GLY - 1 65 LYSH 23 N -...
5,717
Posted By livbaddeley
Thank you!
Thank you so much! I apologise for my misuse of the code tags.
5,717
Posted By livbaddeley
How to add line numbers (multiples of 5: 0,5,10,15,20) to a text file?
Hi,

I need to number the lines in my text file. I know how to do this with standard numbering (1,2,3,4, etc) but I need to count in multiples of 5, beginning 0,5,10,15...

example existing file:...
Showing results 1 to 9 of 9

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