Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: IMPe
Forum: Debian 02-22-2017
2,578
Posted By IMPe
Debian Etch - install us-keyboard driver
Hi,

i'm using a debian-4.0r1 on an old subnet machine.
I have to extend it with an other keyboard [United States Keyboard layout - cherry].
What i have is a DVD of etch 4.0r7.
How can i...
1,050
Posted By IMPe
Hi RavinderSingh, thank you for the fast...
Hi RavinderSingh,

thank you for the fast reply. Unfortunately your one-liner (both) work the same way and cut the top of the header like my awk-example, too. The given awk-one-liner, from the...
1,050
Posted By IMPe
awk - set numbers [ 1 ... n] from the 6 line
Hi,

i have a file, where measurement-data is stored in the first column. The file has also a header of 5 lines. I want to set counting up numbers [1, 2, 3, ...] in front of any particular...
Forum: Debian 10-24-2015
3,350
Posted By IMPe
Your right RudiC and sorry i misssed to give this...
Your right RudiC and sorry i misssed to give this information, that i download the pic-files with the chromium-browser. Thanks a lot, it was the hint i really need; it was a optional switch in the...
Forum: Debian 10-24-2015
3,350
Posted By IMPe
After saving a pic, gimp should not be launched
Hi,

i use a crunchbang-LINUX [please see systemdata at the end]. The Problem: When i download and save a picture, the system automaticaly launches gimp. i tried to find a config file, were i can...
1,099
Posted By IMPe
Hi Don, thanks a lot for solving my problem....
Hi Don,

thanks a lot for solving my problem.
Unfortunatelly i don't understand your
script completely but i can work with it.
It gives me what i want propper and efficiently!

Thanks a...
1,099
Posted By IMPe
Hi Don! Sorry for being not accurate! OS:...
Hi Don!

Sorry for being not accurate!
OS: Linux ass210 3.16.7-13-desktop #1 SMP PREEMPT Wed Mar 18 17:31:15 UTC 2015 (ba2afab) x86_64 x86_64 x86_64 GNU/Linux
Shell: GNU bash, version...
1,099
Posted By IMPe
Content of filtered files write as columns into one file
Hi everybody!

i have a lot of files where i filter out data.

#!/bin/bash
f=sample_*.Spe
for i in $f `eval echo ls sample_*.Spe`
do
if test -f "$i"
then
awk 'FNR==8...
1,238
Posted By IMPe
baaam, that works propper! Thanks a lot CarloM
baaam, that works propper!
Thanks a lot CarloM
1,238
Posted By IMPe
awk --> selective printout with FNR
Hi everybody!

need some awk-support. i want a line-selective printout of a file.
wat i normally will do with ...
awk ' FNR==8' sample.txt
But now i need the data from line 8, 10 and the...
878
Posted By IMPe
YES, that works fine. Thanks a lot! ...
YES, that works fine.
Thanks a lot!
IMPe
878
Posted By IMPe
awk combined with an IF
Hi everybody!

I try to printout a csv-file with the exeption of cell $1 and $4.
what i tried so far:

awk '{for(i = 1; i<=NF; i++);if(i == 1 || i == 4);else print($i)}' file.csv

..any ideas...
6,790
Posted By IMPe
Thanks a lot Scott, now i have understand that...
Thanks a lot Scott,
now i have understand that every attaching file must have a seperate -a. Now it works properly!

Thanks
IMPe
6,790
Posted By IMPe
Mail command --> send multiple attachments
Hi,

i try to send two (multiple) files by the mail-console-command
mail -s TEST -a f1.pdf f2.pdf n.ame@ms123.de
but it doesn't work. can someone give me a hint?

Thanks in advance,
...
5,165
Posted By IMPe
Thanks a lot Scrutinizer! I thought that this...
Thanks a lot Scrutinizer! I thought that this command i used is working exactly -
unfortunatelly it doesn't.
Thank you,
IMPe
5,165
Posted By IMPe
Date command is not working properly
Hi,

in my script, i take the last month by
a=$(date --date '1 month ago' +%Y%m)
i expect that it give me in this month "March" as result 201402,
but linux gave me 201403.
IMPe@ABC123:>...
3,692
Posted By IMPe
OK, thanks for that. but after the summation of...
OK, thanks for that. but after the summation of the several colums from file.tmp i want summing up the second column of the result - in blue.

4 660905240
5 71205272
6 8.26169e+07
7 8.85961e+07...
3,692
Posted By IMPe
Hi Corona688, first of all, thanks for...
Hi Corona688,
first of all, thanks for supporting me.
file.tmp is a csv-file.
sample-nr in column $1
date in column $2
time in column $3
from $4 ...$26 are columns with measurement-values
...
3,692
Posted By IMPe
Sum up numbers in a for loop
Hi

i have to calculate some numbers, column by column.
Herfore i used a for-loop..

for i in {4..26};do awk -F"," '{x'$i'+=$'$i'}END{print '$i'"\t" x'$i'}' file.tmp;done
----- printout -----...
1,882
Posted By IMPe
CarloM and ctsgnb, to both of you a big thank...
CarloM and ctsgnb, to both of you a big thank you.

ctsgnb --> this sed-command will change the "position" of dd/mm to mm/dd but it will not reduce YYYY to YY. finally i want to compare the...
1,882
Posted By IMPe
Hi CarloM, Thanks a lot for your fast reply....
Hi CarloM,

Thanks a lot for your fast reply. Your "split-version" is working pretty good, but the the Year has still four numbers.
It is possible, to combine it with something like ...
1,882
Posted By IMPe
awk - problems by converting date-format
Hi

i try to change the date-format from DD/MM/YYYY into MM/DD/YY.
Input-Data:

...
31/12/2013,23:40,198.00,6.20,2,2,2,1,11580.0,222
31/12/2013,23:50,209.00,7.30,2,2,3,0,4380.0...
888
Posted By IMPe
hi PikK45 no, i have not, because i have no...
hi PikK45

no, i have not, because i have no idea, how i start in the right way. Should i put the data in a array... how do i calculate the data sum=$4+$5+$6+$6 and past it at the end - record by...
888
Posted By IMPe
awk --> math-operation in data-record and joining with second file data
Hi!

I have a pretty complex job - at least for me!
i have two csv-files with meassurement-data:
fileA

......
3,160
Posted By IMPe
Hi ctsgnb, thanks a lot for your extensive...
Hi ctsgnb,

thanks a lot for your extensive support. It take some time for me, to understand all your methods and proposals. But again i have learned more about sed and i solved my problem...
Showing results 1 to 25 of 82

 

Featured Tech Videos

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