Search Results

Search: Posts Made By: baconbasher
5,093
Posted By baconbasher
Thanks for the replies! I customized emacs...
Thanks for the replies!

I customized emacs like crazy...I'm a big fan of macros, but I do a lot of work on the command line and for that I'd love to have this function/alias defined.

I tried...
5,093
Posted By baconbasher
Alias to awk BEGIN statement
I'd like to define an alias to awk's begin statement since I use awk with different delimiters all the time and it is tiresome to type awk '{OFS="\t";FS="\t"}{BLAH BLAH}' every time. The problem is...
3,981
Posted By baconbasher
Thanks.
Thanks.
3,981
Posted By baconbasher
Yeah...I thought about doing it that way, I had...
Yeah...I thought about doing it that way, I had just hoped there was cleaner way of doing it.

Thanks.
3,981
Posted By baconbasher
Column containing sum using awk
Hi All,

I am trying to add a column that contains the sum of the previous column repeated. IE

1
2
3
4

I would like to get:

1 10
2 10
3 10
4 10

Advice? I can get
1 1
2 3
3 6
Showing results 1 to 5 of 5

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