Summary: I have a xml file which is not indented and it looks like this <FileFolderHistory clsid="{8A52365D-ED03-4581-A5FD-32A2A2E272BF}"><NTID vt="8">W...
Summary: I am writing a UNIX script which creates XML by directing all output to an XML file. A file that i require to be written to XML will sometimes include...
Summary: Dear All, Would anyone help me the following problem I have? string="Today is good/day" output="Today is good day" change string "/" to " " I try : e...
Summary: I thought this would be easy, but I can't figure it out.... Assume I have 3 variables with the following values: C_MONTH=Jan C_DAY=5 C_YEAR=2003 What ...
Summary: actually i tried your posting before you posted, it doesnt work. heres the data i want to clean up: start_block aml_daily al_crossref al_general ...
Summary: There are some things here that can stand some clarification and warnings ... The vi and sed solutions above will remove ALL leading spaces on each li...
Summary: I am trying to write a Unix Shell Script command that would clean up the XML files by eliminating spaces between the nodes...example: James the c...
Summary: typeset -L30 variableName This will left justify a variable and limit the size to 30 characters. It will fill with trailing blanks or truncate the ...
Summary: All, I'm really stuck with this one... I have a xml file and I need to remove characters from the start of each record and also from the end of each r...
Summary: How about this: T3="$T1 $T2" put as many spaces between $T1 and $T2 as you like. If they are in double quotes, they will print. Is that what you are ...
Summary: I am writing a UNIX script which produces XML code as an output, and i am writing this ouput to the file "dir1". A part of this i am checking a databa...
Summary: Hi, I have a new assignment which I need to finish it soon, but it doesn't seem to easier for me. My requirements are given below. In a directory /dat...
Summary: I'm sorry. The # of spaces between the double quotes are four in the following line: VAR=$(echo `wc -l < input.txt`" " | cut -c1-4) For some rea...
Summary: Hi Frank, If the problem above is that of the Program name not been printed completely, i.e. C__Program Files_Embarcadero_DBA700_DBArt700_exe, i s...
Summary: Hi, I have a problem here. I am not sure if anyone here can help me. I have a file (test.ctl) that looks like this: (SITE_NUMBER POSITION(001:008) ...
Summary: i need to use xargs because aside from merging two or more lines (the number of which is unpredictable), xargs also reduces multiple spaces between wo...
Summary: I need to parse a simple text file of the following format. email@blah.com username1 email2@blah.com username2 email6@monkey.com username3 The fi...
Summary: I have a dilemia. I have a lot of files with mixed cases (upper and lower) (Example: fileEXAMPLE.SH, TESTfile.sh). I need to write a script to insert ...
Summary: Hi i have a text file and some of the lines end with nothing, some end in ' and some end with an extra space and then ' example: sentance1` sentance2...
Summary: I am having problems using grep to search a file, i think i've just got confused with my syntax but i am trying to grep a file that contains some tabl...
Summary: Hi, I am having a file which has 9 million records. Few records in between are having no value for a field resulting in two consecutive pipes(||). Bec...