Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Help with UNIX scripting?  (Read 2888 times)

0 Members and 1 Guest are viewing this topic.

hodges91

    Topic Starter


    Rookie

    Help with UNIX scripting?
    « on: October 29, 2009, 02:48:38 PM »
    I'm making two basic databases for a practice scenario. One has a person's first and last name and some other made up 'personal' information. (Like address, birthdate, ect) The other database will be a list of products.

    However, I wish to add an identification number to both databases, and then make a third database to merge the two, or emulate a person buying an item and matching them with ID's. I wish for the ID's to start at 10000 so I can make a simple grep script for the third database. (Otherwise it may return integer values from an address)

    Both of these databases are quite small which is why I only want the ID's to be 10000ish. Anyone have any insight to this? If you want me to post a code sample let me know. I'm mainly confused if I can do this with an if statement or if I'd need a while/until loop to figure this one.