Search Results

Search: Posts Made By: chillmaster
6,703
Posted By chillmaster
Hi Tytalus, thanks for answer. You posted...
Hi Tytalus,

thanks for answer.
You posted while I was writing.

Looks really short, will check both asap and post a solution...

So long
chillmaster
6,703
Posted By chillmaster
Hello, I got following solution: ...
Hello,

I got following solution:


#!/bin/bash

filecount=0
for file in data*.ip
do
sed -i -n '382976, $p' $file
sed -i 's/[.]/,/g' $file
filecount=$(( filecount + 1))
echo $filecount...
6,703
Posted By chillmaster
Addition: I found the syntax error, the last...
Addition:

I found the syntax error, the last bracket was the wrong one... ) > }
Anyway, it is not working rite, avgfile:

70124752,000
0,000
0,000
0,000
0,000
0,000
0,000
0,000

Tried...
6,703
Posted By chillmaster
Hello jim, thank you very much for your...
Hello jim,

thank you very much for your help.
The first part is working, the second part brings a syntax error at awk line 3.
Unfortunately, I dont know anything about awk.
I will check the...
6,703
Posted By chillmaster
Hi jim, yep, you are rite. Maybe i wrote a...
Hi jim,

yep, you are rite.
Maybe i wrote a little confused, English isnt my mother tongue...

Anyway, rite now I got 100 files each with 1'050'000 rows, just one column.
Every file is a...
6,703
Posted By chillmaster
Average of elements throught multiple files
Hi,

I got a lot of files looking like this:

1
0.5
6


All together there are ard 1'000'000 lines in each of the ard 100 files.
I want to build the average for every line, and write the...
Showing results 1 to 6 of 6

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