Search Results

Search: Posts Made By: biscayne
2,575
Posted By biscayne
Already did, now even more. Thanx Scrutinizer
Already did, now even more.
Thanx Scrutinizer
2,575
Posted By biscayne
Thanks Rudi, execatly what I need. Best...
Thanks Rudi, execatly what I need.
Best regards,
Perry
2,575
Posted By biscayne
Input files look like this: "Billing...
Input files look like this:

"Billing Country","Invoice Type","Settlement Type","Bill-to Account Number","Control Number","Invoice Number","Invoice Date","Due Date","Bill
to Currency","Total...
2,575
Posted By biscayne
Find values in multiple csv files
Hi,
I'd like to find the values of certain fields in multiple csv files stored in 1 directory
based upon an input search string.
An fgrep returns the complete record, I only want certain fields....
4,732
Posted By biscayne
Hi Don, Many thanks. I just ran it on the...
Hi Don,
Many thanks.
I just ran it on the actual xml template (Scribus sla file) and it works !
Great job.
Many thanks for your help.
:b:
4,732
Posted By biscayne
Unfortunately I get an error: awk 'FNR==NR {for...
Unfortunately I get an error:
awk 'FNR==NR {for (i=2; i<=NF; i++) a["%VAR_"$1"_"i-1"%"]=$i;next}
{for(i=1;i<=NF;i++) printf a[$i]? a[$i]" " : $i" "; print ""}' FS=" *, *" prices.csv FS="[ \t]"...
4,732
Posted By biscayne
Hi Don, Thanks for your offer. Would be great...
Hi Don,
Thanks for your offer. Would be great to get it all in awk.
Here's an example template file:

Rateband prices per 01-01-2012
=========================================...
4,732
Posted By biscayne
Wow, that's cool I guess I can pipe to sed and...
Wow, that's cool
I guess I can pipe to sed and do the magic now :cool:
Many thanks for your help !
2,878
Posted By biscayne
You might try: tr Example: tr '\n' ';' <...
You might try: tr
Example:

tr '\n' ';' < input > output
4,732
Posted By biscayne
Find and replace variables using a csv table
I have a flat file (template) where I want to replace variables based upon a value in another file (csv).
The variables in the template are named %VAR_X_z%
The values are in the csv file and X is...
Showing results 1 to 10 of 10

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