Search Results

Search: Posts Made By: la2015
1,947
Posted By la2015
Brilliant, thank you all. @DonCragun, why do...
Brilliant, thank you all.

@DonCragun, why do you say there were no tabs in my sample? I made it with a vi editor, and I actually used a tab separator. Just curious..
1,947
Posted By la2015
Thank you RudiC. I tried it but the output is...
Thank you RudiC. I tried it but the output is nothing, which I dont think is wrong. The answer is there, its just that whether the answer are spaces or tabs, these are not being printed as " " or...
1,947
Posted By la2015
Ok, thank you. The file looks like this: ...
Ok, thank you. The file looks like this:

ABCD A L BBB J HHH 9495994 4458902 HJFGGJK SDFR 22222 Can awk determine which are the separators between ABCD and A, or between BBB and J?
1,947
Posted By la2015
Thank you, but I dont think I got your point
Thank you, but I dont think I got your point
1,947
Posted By la2015
How to determine column separation format?
Hi there,

say I have a line with multiple columns but with different separation formats: spaces, tabs..

Is it possible to have AWK print the separation format between each column?
Forum: Programming 10-10-2015
1,580
Posted By la2015
Learning python, lost with script
Hi there,

im just having a hard time understanding why this code does not print anything that is suppose to print:

score = raw_input ('what is your score? \n')

try:

if 1.0 ==...
1,212
Posted By la2015
thank you everyone for such detailed explanations!
thank you everyone for such detailed explanations!
1,212
Posted By la2015
what a silly mistake. Thank you! PS, any hint...
what a silly mistake. Thank you!
PS,
any hint what is the purpose of that "1"?
1,212
Posted By la2015
A simple awk command
Hi there,

given the file

FIELD1 FIELD2 FIELD3 FIELD4 FIELD5 FIELD6 FIELD7 FIELD8 FIELD9 FIELD10 FIELD11

Why does not

awk '$6 == "FIELD6" {$6=="GREEN"}1' file

do the work and...
Showing results 1 to 9 of 9

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