I can't reproduce the problem with the code I posted. You haven't shown what code you're using: see "How do I post a question effectively?" for guidelines on what to post such that we can help you.
Here's my test:
$ cat pm_year_make_model_file_models.master Sorento Cavalier Expedition
$ cat >> pm_year_make_model_file_models.master Expedition XLT
$ rm pm_year_make_model_temp_file
$ pm_year_make_model.pl Available years: 1999 2000 2001 Select year: 1999 Available makes: Chevrolet Ford KIA Select make: Ford Available models: Cavalier Expedition Expedition XLT Sorento Select model: Expedition Temp file contents: 1999 Ford Expedition
$ cat pm_year_make_model_file_models.used Sorento Cavalier #Expedition Expedition XLT
$ pm_year_make_model.pl Available years: 2000 2001 Select year: 2000 Available makes: Chevrolet KIA Select make: KIA Available models: Cavalier Expedition XLT Sorento Select model: Expedition XLT Temp file contents: 1999 Ford Expedition 2000 KIA Expedition XLT
$ cat pm_year_make_model_file_models.used Sorento Cavalier #Expedition #Expedition XLT
-- Ken
In reply to Re^3: Flat File Comment
by kcott
in thread Flat File Comment
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |