Check a string in bash for unwanted characters

Hello,
I'm trying to do a bash script that checks a variable against a list of unwanted characters, e.g. to parse a file name.
This doesn't really sound like a difficult task, but for some reason, whatever I've tried so far does not work, including my last attempt, shown below. Perhaps I'm doing something silly here - and I'm getting tired of it. What would be the best way for instance to parse a file name for invalid characters, or to accomplish or fix the below?
#!/bin/bash
read -p "Enter a filename: " fname
invalid_chars=", . ! @ # \$ % ^ & \* ( ) + = ? { } [ ] | ~"
i=0
while (( i <= ${#fname} )); do
   char=${fname:$i:1}
   for char in `echo $invalid_chars`; do
     echo "$char"
   done
   (( i += 1 ))
doneThanks.

Meanwhile I figured out the mistake I made in the for loop. The below finally works catching the list of characters. It won't catch * and ? though. I wonder if there wasn't an easier way to do it, beside using "grep".
#!/bin/bash
f_varcheck()
  ifs_orig=$IFS
  count=0
  score=0
  while (( count <= ${#1} )); do
    char=${1:$count:1}
    if [ "$score" = "0" ]; then
      wanted_char='~,!,@,#,$,%,^,&,(,),+,`,='
      IFS=$','
      for item in `echo "$wanted_char"`; do
        [ "$item" = "$char" ] && score=1
      done
    fi
    if [ "$score" = "0" ]; then
      wanted_char='{,},|,[,],\,:,",;,<,>,., ,/,'
      IFS=$','
      for item in `echo "$wanted_char"`; do
        [ "$item" = "$char" ] && score=1
      done
    fi
    if [ "$score" = "0" ]; then
      wanted_char=','
      IFS=$' '
      for item in `echo "$wanted_char"`; do
        [ "$item" = "$char" ] && score=1
      done
    fi
  if [ "$score" = "0" ]; then
    (( count += 1 ))
  else
    break
  fi
  done
  IFS=$ifs_orig
  [ "$score" = "1" ] && return 1 || return 0
read -p "Enter a filename: " fname
if ! f_varcheck "$fname"; then
   echo "Invalid character \`$char\` found."
else
   echo "Input is ok."
fi
{code}
Edited by: Dude on Feb 11, 2012 8:51 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • String Regular Expression for uncommon characters

    Hi,
    I am trying to get text out of HTML file for which I am using EditorKit and Document classes. After I obtain the text, the text (String) contains some characters like �. This character looks like a with French style acute accent . My problem is how to use regular expression to find and replace (replaceAll method) these unwanted characters.
    Is there a regular expression pattern for such characters?
    Thanks!
    Rahul.

    hrm I would recommend looking at the specific patterns,
    a simplified site would be here http://www.p3m.org/wiki?regex
    as a refernce . If you dont know regular expression, use
    http://www.perl.com/doc/manual/html/pod/perlre.html
    The only way I could think of constructing the regex is to use the \s and add the characters you want in that regex :s you could look into regex look ahead and look behind methods...

  • Removing unwanted characters from imported string

    Hello,
    I have a tab-delimited .txt file which I have to import into Indesign for further processing.
    The file is composed by a 3 columns header row at the beginning (Code, Description, price) followed by a series of 3 columns data rows.
    The problem is that sometimes, depending on the way the txt/csv file has been created, may include unwanted characters (such as spaces, double spaces, etc.).
    Is there a way to "clean" the imported strings from these unwanted characters?
    This is my starting code:
    function processImportedTxt(){
        //Open .csv file
        var csvFile = File.openDialog("Open file .csv","tab-delimited(*.csv):*.csv;");
        datafile = new File(csvFile);
        if (datafile.exists){
            datafile.open('r');
       var csvData = new Array();
       while(!datafile.eof){//read every row till the end of file
            csvData.push(datafile.readln());
        datafile.close();
        for(a=1; a<csvData.length; a++){
            var myRowData = csvData[a];//row of data
            var mySplitData = myRowData.toString().split("\t");//divide columns
            var myRowCode = mySplitData[0];
            var myRowDesc = mySplitData[1];
            var myRowPrice = mySplitData[2];
            // Here goes code for cleaning strings from unwanted characters
    processImportedTxt();
    Any help would be much appreciated
    Thanks in advance

    Hi,
    If you want to safe 1-space occurences just a small correction:
    i.e.:
    var myRowCode = mySplitData[0].replace(/\s\s+/g,'');
    Jarek

  • Is it possible to search for strings containing spaces and special characters?

    In our RoboHelp project, there are figures with text labels such as Figure 1, Figure 3-2, etc.
    When I search for "Figure 3" I get all pages containing "Figure" and "3", even if I surround it in quotes.  Similarly, searching for "3-2" treats the '-' character as a space and searches for all pages containing '3' or '2'.
    Is there a way to search for strings containing spaces and special characters?

    In that case I think the answer is no if you are using the standard search engine. However I believe that Zoom Search does allow this type of searching. Check out this link for further information.
    http://www.grainge.org/pages/authoring/zoomsearch/zoomsearch.htm
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Checking for Special Characters

    I need to check if a textbox in my form containes special characters (entered by user). If there are any, I need to display an error message.
    I have written a function but it's not working.
    here's my function:
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    for (var i = 0; i < userInput.length; i++)
    if (iChars.indexOf(userInput.charAt(i)) != -1) {
    xfa.host.messageBox("Please check for special characters. The following characters are not allowed: @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    Any help would be greatly appreciated.
    Thank you!

    Paul,
    It is working now. I don't know what I might have changed.
    Here's my final function (It works!):
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    var hasSpecialCharacter = false;
    for (var i = 0; i < userInput.length; i++)
    //app.alert("Value is: " + userInput.charAt(i));
    if (iChars.indexOf(userInput.charAt(i)) != -1)
    hasSpecialCharacter = true;
    break;
    } // end if
    } // end For loop
    if (hasSpecialCharacter)
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    xfa.host.messageBox("Please check for special characters. \n\nThe following characters are not allowed:\n\n @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    else if (!hasSpecialCharacter)
    oFiled.fillColor = "255,255,255";

  • Checking for unwanted software

    I'm wanting to know if I can check for unwanted tracking software (spy) on my Nokia 6210s-1 Navigator used in Australia. I rarely use WAP/internet features ,, my service proviser bill shows hourly over( 24hrs) "pings/call" to WAP/internet lasting between 2-4 seconds.
    Thanks

    It soubds like one of the applications on your phone is accessing a server to upload or download information hourly. Typical application that do this are ones that update weather information or curency exchange rates or location applications such as friendview etc. There are thousands of potential culprits. What applications have you installed on your phone recently.

  • To check the string for a particular character

    i want to check the string contains ',' (comma) or not. can anyone help me?

    i want to check the string contains ',' (comma) or
    not. can anyone help me?you can use 'indexOf' method at string object
    String s1 = "test,tet1";
    boolean bfind = s1.indexOf(',') > -1 or
    boolean bfind = s1.indexOf(",") > -1

  • Removing unwanted characters..

    Hey guys,
    I'm back for help again. Unfortunately my brain isn't creative enough, so please help! :-)
    Ok, I need to remove unwanted characters from a file...the problem is that the characters look like this:
    in any text editor. I'm using JEdit, and it's ISO-8859-1 encoding. The text was initally from a html file, and i think that most of the html is displayed well as text in JEdit. But these squares, which are bits of info that I don't need, are making it a little trick to do my extraction.
    Ex: the word I want to extract is "trouble". But in the file, it looks like this:
    troble....
    Anyone know how to get rid of all that stuff???
    Thanks in advance.
    ...DJVege...

    you could try to set a filter on the characters you accept. Process each character and only accept those that fall into some ASCII boundary. If you accept ASCII characters that have values between 33-255, most blocks should be eliminated.
    Something like this should help:
    import java.io.*;
    public class Example {
         protected static final int MIN_ASCII = 33;
         protected static final int MAX_ASCII = 255;
         public Example(String file) throws IOException {
              BufferedReader b = new BufferedReader(new InputStreamReader(new FileInputStream(file)));
              PrintStream p = new PrintStream(new FileOutputStream(file+"_fix.txt"));
              String s = "";
              int j;
              while ((s = b.readLine()) != null) {
                   for (j = 0;j < s.length();j++) {
                        if (valid(s.charAt(j))) {
                             p.print(s.charAt(j));
                   p.println();
              b.close();
              p.close();
         protected boolean valid(char c) {
              int asc = (int)c;
              // allow for tabs and spaces
              if (asc == 9 || asc == 32) {
                   return true;
              return (asc >= MIN_ASCII && asc <= MAX_ASCII);
         public static void main(String args[]) {
              if (args.length > 0) {
                   try {
                        new Example(args[0]);
                   catch (IOException e) {
                        e.printStackTrace();
    }useage: java Example <file>
    of course, something like this will probably only work on "english" files as I dont have an understanding on how foreign characters are encoded..
    if this doesnt solve your problem, you might want to adjust the range to 33-127, which will eliminate all "block" characters and all "special formatted" characters (i.e. accented characters, currency signs, etc.)
    see http://asciitable.com/ for more information on ASCII characters

  • Thunderbird keeps adding extra unwanted characters into messages - how can I stop or prevent this.

    Thunderbird keeps putting extra unwanted characters into emails, eg here’s the articleÂ. These extra characters roughly coincide with punctuation marks.
    First raised this a couple of weeks back but so far no-one has come back.

    You're getting these in messages while you're composing? This issue usually comes up with ''incoming'' mail and is also often seen in browsers. They can be connected with users who use non-standard fonts such as wingdings in their email.
    None of the things you say you have tried are likely to affect it. Gnospen is thinking of the '''View|Character Encoding''' setting; mine is set to Unicode and I don't understand why anyone would choose one of the regional variants when Unicode is available.
    You could look at '''[http://kb.mozillazine.org/Menu_differences_in_Windows,_Linux,_and_Mac Tools|Options]'''|Display|Formatting→Advanced and check if you have selected mainstream fonts for your email contents.

  • ? is shown for Norwegian characters when XML document is parsed using DOM

    Hi,
    I've a sample program that creates a XML document with a single element book having Norwegian characters. Encoding is UTF-8. When i parse the XML document and try to access the value of that element then ? are shown for Norwegian characters. XML document file name is "Sample.xml"
                DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                Element root = doc.createElement("root");
                root.setAttribute("value", "Á á &#260; &#261; ä É é &#280;");
                doc.appendChild(root);
                TransformerFactory transfac = TransformerFactory.newInstance();
                Transformer trans = transfac.newTransformer();
                trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
                trans.setOutputProperty(OutputKeys.INDENT, "yes");
                trans.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                //create string from xml tree
                java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
                StreamResult result = new StreamResult(baos);
                DOMSource source = new DOMSource(doc);
                trans.transform(source, result);
                writeToFile("Sample.xml", baos.toByteArray());
                InputSource is = new InputSource(new java.io.ByteArrayInputStream(readFile("Sample.xml")));
                is.setEncoding("UTF-8");
                DocumentBuilder obj_db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document obj_doc = obj_db.parse(is);
                obj_doc.normalize();
                System.out.println("Value is : " + new String(((Element) obj_doc.getElementsByTagName("root").item(0)).getAttribute("value").getBytes()));writeFile() - Writes the document bytes in Sample.xml file
    readFile() - Reads the Sample.xml file
    When i run this program XML editor shows the characters correctly but Java code output is: Á á ? ? ä É é ?
    What's the problematic area in my java code. I didn't get any help from any source. Please suggest me the solution of this problem.
    Thanx in advance.

    Hi,
    I'm using JBuilder 2005 and i mentioned encoding UTF-8 for saving Java source files and also for compilation. I've modified my source code also. But the problem persists. After applying changing the dumped sample.xml file doesn't display these characters correctly in IE, but earlier it was displaying it correctly at IE.
    Modified code is:
    DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                Element root = doc.createElement("root");
                root.setAttribute("value", "Á á &#260; &#261; ä É é &#280;");
                doc.appendChild(root);
                OutputFormat output = new OutputFormat(doc, "UTF-8", true);
                java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
                OutputStreamWriter osw = new OutputStreamWriter(baos, "UTF-8");
                XMLSerializer s = new XMLSerializer(osw, output);
                s.asDOMSerializer();
                s.serialize(doc);
                writeToFile("Sample5.xml", baos.toByteArray());
                InputSource o = new InputSource(new java.io.ByteArrayInputStream(readFile("Sample5.xml")));
                o.setEncoding("UTF-8");
                com.sun.org.apache.xerces.internal.parsers.DOMParser obj_parser = new com.sun.org.apache.xerces.internal.parsers.DOMParser();
                obj_parser.parse(o);
                Document obj_doc = obj_parser.getDocument();
                System.out.println("Value : " + new String(((Element) obj_doc.getElementsByTagName("root").item(0)).getAttribute("value").getBytes()));I'm hanged on this issue. Can u please provide me the code snippet that works with these characters or suggest solution.
    Thanx

  • How to check particluar string in xml data

    Dear oracle Experts.
    Im using the following oracle database.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I have a following xml data..
    p_msg_in CLOB :=
    <DATA>
    <FLD FNR="ZZ0584" DTE="26SEP12" SRC="DXB" DES="DAC" />
    <AAA LBP="22334455" ETK="1234567/4" ACT="123" />
    <AAA LBP="223344" ETK="2345678/1" />
    <AAA LBP="223344" ETK="123456/1" ACT="345" />
    </DATA>
    then, im fetching header details like this..
    v_msg_xml := xmltype(p_msg_in);
    FOR i IN multicur(v_msg_xml, '/DATA/FLD') LOOP
    v_1:= i.xml.extract('//@FNR').getstringval();
    v_4:= to_date(i.xml.extract('//@DTE').getstringval(),'DDMONYY');
    v_5:= i.xml.extract('//@SRC').getstringval();
    v_6:= i.xml.extract('//@DES').getstringval();
    END LOOP;
    after this, I need to loop all the actual records one by one using this for loop. Here for each iteration , i need to check some string ( example ACT) is there or not. in the above example, records 1,3 have ACT value in it. So here i need to check some thing like this. if instr('<AAA LBP="223344" ETK="123456/1" ACT="345" />','ACT)>0 before I perform the below step.
    How to achieve this.
    I appreciate your help.
    thank you.
    FOR c IN multicur(v_msg_xml, '/DATA/AAA') LOOP
    v_7 := c.xml.extract('//@LBP').getstringval();
    v_8 := c.xml.extract('//@ETK').getstringval();

    SQL> DECLARE
      2 
      3    p_msg_in  clob := '<DATA>
      4  <FLD FNR="ZZ0584" DTE="26SEP12" SRC="DXB" DES="DAC" />
      5  <AAA LBP="22334455" ETK="1234567/4" ACT="123" />
      6  <AAA LBP="223344" ETK="2345678/1" />
      7  <AAA LBP="223344" ETK="123456/1" ACT="345" />
      8  </DATA>';
      9 
    10    v_msg_xml xmltype;
    11 
    12    v_1       varchar2(30);
    13    v_4       date;
    14    v_5       varchar2(30);
    15    v_6       varchar2(30);
    16    v_7       varchar2(30);
    17    v_8       varchar2(30);
    18 
    19  BEGIN
    20 
    21    v_msg_xml := xmltype(p_msg_in);
    22 
    23    select fnr, to_date(dte, 'DDMONRR'), src, des
    24    into v_1, v_4, v_5, v_6
    25    from xmltable('/DATA/FLD'
    26           passing v_msg_xml
    27           columns fnr  varchar2(30) path '@FNR'
    28                 , dte  varchar2(30) path '@DTE'
    29                 , src  varchar2(30) path '@SRC'
    30                 , des  varchar2(30) path '@DES'
    31         ) ;
    32 
    33     dbms_output.put_line('V1 = '||v_1);
    34     dbms_output.put_line('V4 = '||v_4);
    35     dbms_output.put_line('V5 = '||v_5);
    36     dbms_output.put_line('V6 = '||v_6);
    37 
    38     for r in (
    39       select lbp, etk
    40       from xmltable('/DATA/AAA[@ACT]'
    41              passing v_msg_xml
    42              columns lbp  varchar2(30) path '@LBP'
    43                    , etk  varchar2(30) path '@ETK'
    44            )
    45     )
    46     loop
    47       dbms_output.put_line('LBP = '||r.lbp||' ETK = '||r.etk);
    48     end loop;
    49 
    50  END;
    51  /
    V1 = ZZ0584
    V4 = 26/09/12
    V5 = DXB
    V6 = DAC
    LBP = 22334455 ETK = 1234567/4
    LBP = 223344 ETK = 123456/1
    PL/SQL procedure successfully completed

  • Export to pdf for thai characters get blank result.

    Dear expert,
    I have a problem, when export Sales Order that contain thai characters to PDF in SAP B1 2007A SP01 PL08, the page converted to pdf successfully for english characters, but not for Thai character. Thai characters did not display anything, just blank.
    I did refer to note 339832 , and i guess this note is for R3 system, and I think for B1 also should use the same method when export to pdf.
    So, anyone have any idea to enable Thai characters to export to pdf in SAP Business One?
    Thanks in advance for any help.
    Reagrds
    Mat

    Dear Carin,
    Actually the purpose I want to export to pdf is because to attach wiith email that send direct from SAP.
    My scenario here is:
    - Open one Sales Order
    - then click on Email icon to send email with attachment (I want to attach the SO). But, when I check the pdf before send the SO as attachment, i find out that the Thai characters missing/blank (as JimM said it is limitation in SAP for pdf function currently).
    - the email sent successfully, but only the SO attachment is not correct because of Thai characters missing.
    As per your suggestion, yes I can print as pdf first, then manually attach to email, but this involve too many manual steps just to send one SO via email.
    Any way, thanks to all of you for reply.
    JimM, thanks for the info and I will try to proceed to SAP development team for future use.
    Regards
    Mat

  • PDF conversion for chineese characters in Unicode system

    I am facing a problem while converting the SAP Script Output to PDF format for Chinese characters. 
    I am working on ECC (5.0) Unicode system.
    Scenario:
    After saving a Purchase Order an E-mail is sent to the customer - attaching the
    PO output in PDF format.  E-mail was received successfully by the receiver, but while opening the pdf all the chinese characters were displayed in junk characters in the pdf. All the English characters are properly displayed.  I tried to open the pdf file in Acrobat Reader versions 6.0, 7.0, 8.0. but no result.  I used CONVERT_OTF function module for converting the OTF format to PDF format. I tried using the fonts CNSONG also.
    I tried by executing the standard program RSTXPDFT4 for converting to PDF by giving the spool.  In the spool it is showing the Chinese characters perfectly but in the PDF the Chinese characters were were showing as Junk.
    Can you please help and advice to see the Chinese characters in PDF in Unicode systems.
    Thanks in advance.

    >
    Juraj Danko wrote:
    > Hi,
    > I have similar problem than you ... how have you solved it?
    > thanks
    > Juraj
    I found a solution, but I am not sure, if it was for this problem or
    output problem with for example PL in non-unicode systems.
    I created the input for CONVERT_OTF with CALL FUNCTION 'PRINT_TEXT'.
    PRINT_TEXT has to be called with DEVICE = 'PRINTER',
    DEVICE = 'ABAP' uses internally the wrong code page.
    You have also to set otf_options-tdprinter to a valid printer,
    if it is empty, the default printer from user settings is used.
    You can use code example from SAP note 413295.
    Before you call CONVERT_OTF, you can also check entries with 'FC' in OTF input.
    The font (see description of OTF format in SAP help) must be set like described in SAP note 144718.
    /Tibor
    Edited by: Tibor Gerke on Jan 13, 2011 10:29 AM

  • Creating a String from an array of characters.

    Hi,
    i'm trying to make a string from an array of characters, this i've managed:
    char data[] = new char[x];
    String str = new String(data);My problem is this: Let's say the array of characters has space for 10 chars, but i only input 5, when i convert it to a string, the 5 characters show up fine, but the last remaining characters show up as little boxes ( [] [] [] [] [] ) .
    It there a way to remove these?
    Thanks in advance
    Mike

    jverd wrote:
    georgemc wrote:
    String str = new String(data).trim();
    Does the null character count as whitespace?Seems to. Actually, I'm getting different results depending on the compiler used.
    public static void main(String[] args) {
              char[] c = new char[10];
              for(int i = 0; i < 5; i++) {
                   c[i] = (char) ('a' + i);
              String first = new String(c);
              System.err.println("[" + first  + "]");
              System.err.println(first.length());
              String second = new String(c).trim();
              System.err.println("[" + second  + "]");
              System.err.println(second.length());
         }ECJ-compiled output:
    >
    [abcde
    10
    [abcde]
    5
    >
    javac-compiled output:
    >
    [abcde]
    10
    [abcde]
    5
    >
    Odd

  • Search for certain Characters within set of Characters - in a field

    Hello -
    I know a search can be made within a field for a word, but I am not to sure, or I don't know how to accomplish this...To do a search in a field for certain characters within a larger set of charcters.
    For example: I would search, in the Call Description field, for DXXXX within CA0001DXXXXYYY or search for LXXXX within CA0001LXXXXYYY, the X is numeric characters and the Y's are Alpha characters. Can crystal accomplish this....
    Thanks for your gracious help....
    G.

    Like I said earlier, this code:
    If instr({database_field}, 'DXXXX') > 0 then "String Found" else "Not Found"
    cannot be used in a Record Selection formula.
    The following code can be used in the Record Selection formula:
    Instr({database field}, "string") > 0
    If you wish to search for 'D4444' in the field and return records where a match is found, you would use:
    Instr({database field}, "D4444") > 0
    -Abhilash

Maybe you are looking for

  • Two different invoices created for  one order for two different lines

    Hi All, I have an order with four line items that was shipped on the same day, invoiced on the same day and all lines have the same delivery number yet two inovices were created for this order..one for the first three lines and one for the last line.

  • Error  while configuring SSO between Portal 7.0 and Operating System.

    Dear all, I am having an issue,i need to configure SSO between the Portal 7.0 and operating System.I have followed both the Kerberos as well as spNego wizard methods,but i am not able to configure UME settings as we are using datasourceConfiguration_

  • LInk for MDM

    Hello, Please provide Link for Main Page of MDM in SDN

  • Missing photos in iPhoto 6

    I don't know what happened, but I am missing a lot of photos from iPhoto 6. I have an albumdata.xml file on my desktop, I don't know how it got on the desktop, but I am guessing that is my problem. Any suggestions?

  • SAP WM-RF 'Serial Number' Transaction LM80 - How does it work?

    Hi gurus We are looking at using the standard SAP RF transaction 'LM80' - 'Serial number capture' Does anyone have any experience with this transaction?  How does it work and what is the process flow? Cheers Eddy