--- taxonomy_batch_operations_old.module	2008-02-08 00:04:08.000000000 +0100
+++ taxonomy_batch_operations_new.module	2008-03-11 03:38:38.000000000 +0100
@@ -301,9 +301,14 @@ function taxonomy_add_multiple_terms_for
   $form['name'] = array('#type' => 'textarea',
                         '#title' => t('Terms'),
                         '#rows' => 15, '#cols' => 64,
-                        '#description' => t('The names of the terms, one term per line.'),
+                        '#description' => t('The names of the terms.'),
                         '#required' => TRUE);
 
+  $form['separator'] = array('#type' => 'textfield',
+                             '#title' => t('Separator'),
+                             '#description' => t('The text that separates each term. If empty, defaults to one term per line.'),
+                             );
+ 
   $form['strip'] = array('#type' => 'fieldset',
                          '#collapsible' => TRUE,
                          '#collapsed' => TRUE,
@@ -329,8 +334,10 @@ function taxonomy_add_multiple_terms_for
 
 function taxonomy_add_multiple_terms_form_submit($form_id, $form_values) {
   $message = "";
-  $terms = explode("\n", $form_values['name']);
- 
+
+  empty($form_values['separator']) ? $separator = "\n" : $separator = $form_values['separator'];
+  $terms = explode($separator, $form_values['name']);
+
   foreach ($terms as $key => $term) {
     // strip of prefix and suffix, if necessary
     if (!empty($form_values['prefix']) && strpos($term, $form_values['prefix']) === 0)
