Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] 3.13-5 / [import] / automatic code generation



******    message to minivend-users from cfm@maine.com     ******

On Thu, Jun 01, 2000 at 06:01:11PM -0400, .c o r y . t r e s e. wrote:
> ******    message to minivend-users from ".c o r y . t r e s e." <digital@specialty-books.com>     ******
> 
> I'm under linux, and using a text (.asc) file for this particular database. 
> What I would like to be able to do is insert records into the database using
> the [import] tag with a random / unique code for the item.

Why not generate it first before you give it to minivend?

Preprocessing is your friend.  Your VERY GOOD FRIEND!

while (<STDIN>) {
	print "$i\t$_"
	$i++;
}

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: