Search Results

Search: Posts Made By: A-V
1,487
Posted By A-V
Thank you very much RudiC for the great help .....
Thank you very much RudiC for the great help .. it was the doc2unix problem.
have the command but it was only converting txt and csv
1,487
Posted By A-V
the data i originally posted at a mistake as I...
the data i originally posted at a mistake as I tried to cut it short
original
[
{"gender": "f", "age": "15", "folder": "data1"},
{"gender": "f", "age": "15", "folder": "data2"},...
1,487
Posted By A-V
Thank you RudiC, I realised that I have a...
Thank you RudiC,
I realised that I have a comma more by mistake at the end of last line but the comma is next to "m". So my final like it getting messy ...

it should be
{"gender": "m", ...
1,487
Posted By A-V
Allocating names to folders based on a file
Hi everyone,
I have a problem and I would be gratful if you can help.

I have set of folders with files in them. e.g. data1, data2, data3
and I have a json file with info ... looking like this
...
1,214
Posted By A-V
Repositioning based on column values
Dear all ...
I have a file which I want to change the structure based on the values in some columns and I would be grateful if you can help...
one of my files looks like ... they all have ten rows...
1,291
Posted By A-V
thanks a lot for your help, it worked nicely.. ...
thanks a lot for your help, it worked nicely..
may I ask you to explain few things ?

why the dir1 structure is different from dir2 ?
dir1="/tmp/test1/*.txt"
dir2="/tmp/test2"

and what does...
1,291
Posted By A-V
Paste and double loop
I have 2 directories and both had the same number of files with exactly same names but different content... I want to combine them horizontally but somehow I am stock

I think I need && to get the...
830
Posted By A-V
Thanks you so much ... that is very useful
Thanks you so much ... that is very useful
830
Posted By A-V
Thanks a lot - it worked perfectly how...
Thanks a lot - it worked perfectly
how interesting... I tried -v and the for loop but not together

may I ask to explain it a bit so I can learn... specially i$i-=s)1????
830
Posted By A-V
awk file subtracted by a fix value - conditioned
Hi all...
i have been trying to make this work but I have been failing for 6 hours ..
I know it should be something simple that I am missing to it would be great if you can help me ...

I want...
1,041
Posted By A-V
Thank you all ... it was hidden characters ......
Thank you all ... it was hidden characters ... sorted now :)
1,041
Posted By A-V
Thanks a lot from both of you ... But both add...
Thanks a lot from both of you ...
But both add random 0 at the end of few files ...
the ones I have resided are the ones that do not have values for the last column
e.g. example data

instead of...
1,041
Posted By A-V
magic ... thank you so much tired awk but not...
magic ... thank you so much
tired awk but not with split and OFS

now it words perfectly
1,041
Posted By A-V
Count words in a single column
Dear All,

I have set of CSV files (comma separated) and each column have some information in them separated by space. Now I want to count them but have not been successful...

Example data

...
2,550
Posted By A-V
Thank you Walter Misar for help... never thought...
Thank you Walter Misar for help... never thought of double sed...
used \b to include whole words as well :)
2,550
Posted By A-V
Replacing stopwords based on a list
Dear all,
I have Files with lines of text in them, I want to replace the stopwords in them with ",".
I have create a file which contain the stopwords...

I have been trying for last 3 hours but...
919
Posted By A-V
I have a folder that has one main.csv and few...
I have a folder that has one main.csv and few other files (files1.txt, file2.txt, ...)
my python compares the main against the rest of the files
so i need to select an entire folder and not...
919
Posted By A-V
Applying python on all the files in one folder --UNIX
Dear all,
I know this might be a simple and silly question but I am struggling with it
I have a long unix script and in a section of if I want to use a python script which should select all the...
1,140
Posted By A-V
Thank you all very much for your helps.. all of...
Thank you all very much for your helps..
all of them where very helpful and its great to have a way to deal with columns independently
cheers
1,140
Posted By A-V
thank you very much ... it works well and thank...
thank you very much ... it works well and thank you so much for explaining the code
its on ksh but i am sure it will still work well when i put the whole code together :)
1,140
Posted By A-V
I have tried but it does not work I have a...
I have tried but it does not work
I have a multiple files like this and I do not know the exact number of the columns so was thinking to be more adaptive
I have tried the following but then i...
1,140
Posted By A-V
Independent column sorting
Dear All,
I have a set of columns (usually unknown number) and I would like to sort each of them (descending values) but my columns are independent. Can you please help me
file1
1,5,7
3,4,9...
573
Posted By A-V
Dear Blackrageous, No, I am not combining. I want...
Dear Blackrageous, No, I am not combining. I want to fill the gaps in file1 by the data from the file2
my file2 is always the same and has 20 lines while file1 might have any combination. I want to...
573
Posted By A-V
Extracting combined differences based on a single column
Dear All,
I have two sets of files. File 1 can be any number between 1 and 20 followed by a frequency of that number in a give documents... the lines in the file will be dependent to the analysed...
1,631
Posted By A-V
not all the files are with the same hidden...
not all the files are with the same hidden structure and some have others in different places but i guess it should work if I use perl to remove the BOMs

tried deleting the first 3 character and...
Showing results 1 to 25 of 155

 

Featured Tech Videos

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