Search Results

Search: Posts Made By: shazo
1,955
Posted By shazo
thank you. am sorry i can't make it...
thank you. am sorry i can't make it understandable. i want to make table, out of first element of first line of every input file, input file don't have any brackets elements are separated by a...
1,955
Posted By shazo
files with many lines but i have to make table...
files with many lines but i have to make table using first element only.
There is no sample input, output, nor code in this post. So there shouldn't be any CODE tags.
1,955
Posted By shazo
i am using Linux and bash script. sorry it is ...
i am using Linux and bash script. sorry it is my mistake. the output file should be (1,1,1)
1,955
Posted By shazo
it still reading whole file.
it still reading whole file.
1,955
Posted By shazo
Thank you ! Yeah sure I will do use code tags....
Thank you ! Yeah sure I will do use code tags. This is reading whole files not first entity. Anyway thanks.
awk -F, '{X=X?X OFS $1:$1} END{print X}' OFS=, fIle1 fIle2 fIle3 > OUTPUT_file
CODE tags...
1,955
Posted By shazo
How to delete first elements from files?
Hello,

I want to select first element from 2 to 3 files how I would do that. e.g my input files are:-
file1=(1,2,3,4)
file2 =(1,2,3,4)
file3=(1,2,3,4)
output should be
outputfile=(1,1,1,1)
Showing results 1 to 6 of 6

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