Search Results

Search: Posts Made By: gio001
1,307
Posted By Corona688
The code for mimesender can be found here...
The code for mimesender can be found here (https://www.unix.com/answers-frequently-asked-questions/9417-multiple-attachments-post33233.html#post33233).

Have you tried specifying a body with -b...
3,525
Posted By Scrutinizer
You can if you make awk treat stdin as a regular...
You can if you make awk treat stdin as a regular file:
command | awk '...' file - > fileout
You could differentiate between the two by using NR==FNR or FILENAME=="-"
5,261
Posted By Corona688
read is known to alter terminal settings in many...
read is known to alter terminal settings in many shells. To guarantee you're getting a raw read with the terminal characteristics you set, try dd.

k="$(dd count=1)"

Also note that some...
1,878
Posted By Scrutinizer
@OP I think you have the input files reversed.. ...
@OP I think you have the input files reversed..
Alternative awk:
awk -F, 'NR==FNR{T[$1]=$2; next}$0=$2 FS $3 FS T[$1]' uno due > outtel
NAME1, LASTNAME1 ,4121234567
NAME2, LASTNAME2 ...
1,878
Posted By vgersh99
try it - just use plain awk
try it - just use plain awk
1,878
Posted By vgersh99
nawk -F, 'FNR==NR{f1[$1]=$2;next} $1 in f1...
nawk -F, 'FNR==NR{f1[$1]=$2;next} $1 in f1 {f2[$1]=$2} END {for (i in f2) print f2[i], f1[i]}' OFS=, uno due
Showing results 1 to 6 of 6

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