Overview
| Artifact ID: | 2db53151335a77783022db24953704bbe8809681830b355adb3dad590905ab91 |
|---|---|
| Ticket: | 27ff4ebe1c2421149aad5f536516015a238e47aa
LDIF or LDAPx parser is not working properly: removes the desired ldif file format spaces |
| User & Date: | usmankhalid on 2018-02-06 18:19:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hello I used tcl8.4.14 and ActiveTcl versions 8.4.14 and 8.6.7.0 cd as well. Where ldapx 0.2.4 version and with ActiveTCL ldapx 1.0 version available. I face the issue that ldapx parser is removing the spaces which we ldif format provides it. The following is the ldif input file prcoedure output desired output #### ## content of LDIF file dn: design data LOGICAL LIBRARIES: lib1 PARAMETERS: TOP ARCHITECTURE: structure TOP LIBRARY: lib TOP NAME: lib WORK LIBRARY: work dn: group #0 FILES: aaaaaaa bbbbbbbbb ccccccccccc dddddddddddd ## Finish content of LDIF file ## start of tcl procedure package require ldapx 0.2.4 # create input channel ::ldapx::ldif create liin # link it to the input file liin channel [open "file_in.txt" r] ::ldapx::entry create input_file # each liin reads a "dn" from the input file # read the first one with the design data liin read input_file set output1 [input_file get {logical libraries}] puts stdout "this is the information contained in dn design data" puts stdout $output1 #puts stdout "this is the information contained in the rest of dn" while {[liin read input_file] != 0} { set filelist [input_file get1 files] puts stdout [format {"%s"} $filelist] } return ## finish of tcl procedure # output of provided tcl file aaaaaaabbbbbbbbbcccccccccccdddddddddddd # expected output of provided tcl file aaaaaaabbbbbbbbb ccccccccccc dddddddddddd - foundin changed to: "8.4.14 & 8.6.7"
- is_private changed to: "0"
- login: "usmankhalid"
- priority changed to: "5 Medium"
- private_contact changed to: "9483839b88c374516aab6c85bc13ba5f4f360aa6"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "usmankhalid"
- subsystem changed to: "69. Other"
- title changed to:
LDIF or LDAPx parser is not working properly: removes the desired ldif file format spaces
- type changed to: "Bug"