I appear to be missing something.

Probably <g>.


I have a LONG list of words:

order_id
order_num
category
listingsize
boldtype

OK.


I want to change it to:

fieldname="order_id" postargumentname="order_id"
fieldname="order_num" postargumentname="order_num"
fieldname="category" postargumentname="category"
fieldname="listingsize" postargumentname="listingsize"
fieldname="boldtype" postargumentname="boldtype"

OK2.


I tried:
GREP is checked
Search: (.*)
Replace: fieldname="&" postargumentname="&"

But I get:
fieldname="order_id" postargumentname="order_id"fieldname="" postargumentname="" fieldname="order_num" postargumentname="order_num"fieldname="" postargumentname="" fieldname="category" postargumentname="category"fieldname="" postargumentname="" fieldname="listingsize" postargumentname="listingsize"fieldname="" postargumentname="" fieldname="boldtype" postargumentname="boldtype"fieldname="" postargumentname=""

I am getting doubles of the 'Replace'.


I could kind of repeat this behavior, but these settings did work:

Grep active
Search:  ^(.*)$
Replace: fieldname = "\1" postargumentname = "\1"



Hope, this can help.


Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland

e-mail: mailto:[EMAIL PROTECTED]
http://www.prodok.com



[ Building Bridges for Information ]


______________________




--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to