Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
Hi!
I store some data obtained with grep or awk in a file. The problem is that some lines have white space at the begining :
line1
line2
line3
I use something like
grep WORD INFILE >> OUTFILE
awk >> OUTFILE
I would love if it were possible to remove the white whitout parsing the... (4 Replies)
Dear Members,
Suppose i have a variable test which stores a string as below:
test='John drives+++++++++a+++++car'
now i want to use sed on the above variable and replace + with a white space, so that i get
echo $test should give me
'john drives a car'
Between... (1 Reply)
I got a system which was installed with SUNWCXall cluster installed on it and i want remove unwanted software like GMNOME, Java Desktop System, Staroffice and numerous other softwares .. i want to do an automated removal of these packages where its uninstalled by itself ..from the is there any... (4 Replies)
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Hello
i have a text file like this:
1 AB AC AD EE
2 WE TR YT WW
3 AS UY RF YT
the file is bigger , but that's an example of the data
what i want to do is to merge all columns together except the first one,
it will become like this :
1 ABACADEE
2 WETRYTWW
3 ASUYRFYT (8 Replies)
Hi Guys,
Can someone give me a hand on how I can remove unwanted strings like "<Number>" and "</Number>" and retain only the numbers from the input file below.
INPUT FILE:
<Number>10050000</Number>
<Number>1001340001</Number>
<Number>1001750002</Number>
<Number>100750003</Number>... (8 Replies)
our user creates a text file with a white space on the filename. this same file is transfered to unix via automation tool. i have a korn shell script that reads these files on a input directory and connects to oracle database to run the oracle procedures which will load the data from each of the... (2 Replies)
I have a file called "dsout" with empty rows and duplicate headers.
DATE TIME TOTAL_GB USED_GB %USED
--------- -------- ---------- ---------- ----------
03/05/013 12:34 PM 3151.24316 2331.56653 73.988785 ... (3 Replies)
i have file in which i want to remove white space from each column where ever it exist
there is white space at the end of line.
i know how to remove white space if i have only 1 column, but i have multiple columns
and white space can be in any column.
sed 's/ *$//' file
ath-miRf10005-akr... (5 Replies)
Discussion started by: mirwasim
5 Replies
LEARN ABOUT CENTOS
tcl_concat
Tcl_Concat(3) Tcl Library Procedures Tcl_Concat(3)__________________________________________________________________________________________________________________________________________________NAME
Tcl_Concat - concatenate a collection of strings
SYNOPSIS
#include <tcl.h>
const char *
Tcl_Concat(argc, argv)
ARGUMENTS
int argc (in) Number of strings.
const char *const argv[] (in) Array of strings to concatenate. Must have argc entries.
_________________________________________________________________DESCRIPTION
Tcl_Concat is a utility procedure used by several of the Tcl commands. Given a collection of strings, it concatenates them together into a
single string, with the original strings separated by spaces. This procedure behaves differently than Tcl_Merge, in that the arguments are
simply concatenated: no effort is made to ensure proper list structure. However, in most common usage the arguments will all be proper
lists themselves; if this is true, then the result will also have proper list structure.
Tcl_Concat eliminates leading and trailing white space as it copies strings from argv to the result. If an element of argv consists of
nothing but white space, then that string is ignored entirely. This white-space removal was added to make the output of the concat command
cleaner-looking.
The result string is dynamically allocated using Tcl_Alloc; the caller must eventually release the space by calling Tcl_Free.
SEE ALSO
Tcl_ConcatObj
KEYWORDS
concatenate, strings
Tcl 7.5 Tcl_Concat(3)