That will not serve the purpose.
Input:
Output:
It seems that -c deletes newline characters as well, maybe someone else could comment on how we can stop tr doing that.
I am trying to remove or replace various extraneous characters from a file so that subsequent processes work correctly. The characters that is giving me trouble is the apostrophe '.
The command I 'm trying is
sed 's/\'//g' ${IN_WRK_DIR}/file1 > ${IN_WRK_DIR}/file2
in a Korn script on HP... (8 Replies)
Hi,
I have some EDI data which 830, 862 and 997. Here is the sample data:
ISA~00~ ~00~ ~ZZ~F159B ~ZZ~U1CAD ~051215~184
3~U~00200~000011432~0~P~<
GS~FA~TC11A~U1CAD~051215~1843~000011432~X~002002
ST~997~0001
AK1~SH~1168
AK2~856~11680001
AK5~A... (2 Replies)
Hi I was hoping that maybe someone could help me with a small piece of C code. I have a number of files, which are all of similar layout ie. three lines of text and 5-6 columns of numerical data. I need to add each of the elements of the second column in one file to their counterparts in the second... (17 Replies)
Hi,
I've searched and couldn't find anyone else with this problem. Is there anyway (preferably using ksh - but other script languages would do) that I can read in binary float data into a text file. The data (arrays from various stages of radar processing) comes in various formats, but mainly... (3 Replies)
So, I will be working with someone and basically we are trying to build a form that is submitted most likely via the web and the data is just a string of numbers.
like:
19383882872201110929282821818182827349190102837364718191001932873711
Now, each number is part of a numerical value of... (4 Replies)
Hi everyone,
I hope someone can help me:
i am trying to get some info from a csv file, after i awk the column i need , i made a selection and output it in a file.
now i need to get a list from this file, but i stuck with some fields.
basically i have a text file with next data:
3... (3 Replies)
Hi experts,
I have a list of files containing forces as the only number as follows.
Force1.txt Force2.txt Force3.txt Force4.txt Force5.txt . . . . . . . . . Force100.txt I want to put all the data(only a number ) in these forces files in the file with the same order like 1,2,3 ..100 .... (2 Replies)
Hello,
I have two files, f1 and f2. f1 has 5 columns like so:
a b c d 154
e f g h 365
.....
f2 has two columns, the first column contains the name of the above file and second column contains a constant which is to be used for division.
e.g.
file1 56
I want to divide the 5th... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies
LEARN ABOUT OPENSOLARIS
strip
strip(1) User Commands strip(1)NAME
strip - strip symbol table, debugging and line number information from an object file
SYNOPSIS
strip [-lVx] file...
DESCRIPTION
The strip command removes the symbol table SHT_SYMTAB and its associated string table, debugging information, and line number information
from ELF object files. That is, besides the symbol table and associated string table, the following sections are removed:
.line
.debug*
.stab*
Once this stripping process has been done, limited symbolic debugging access is available for that file. Therefore, this command is nor-
mally run only on production modules that have been debugged and tested.
If strip is executed on a common archive file (see ar.h(3HEAD)) in addition to processing the members, strip removes the archive symbol ta-
ble. The archive symbol table must be restored by executing the ar(1) command with the -s option before the archive can be linked by the
ld(1) command. strip produces appropriate warning messages when this situation arises.
strip is used to reduce the file storage overhead taken by the object file.
OPTIONS
The amount of information stripped from the ELF object file can be controlled by using any of the following options. The following options
are supported:
-l Strip line number information only.Does not strip the symbol table or debugging information.
-V Prints, on standard error, the version number of strip.
-x Does not strip the symbol table. Debugging and line number information might be stripped.
OPERANDS
The following operand is supported:
file A path name referring to an executable file.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of strip: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/tmp/strp* Temporary files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO ar(1), as(1), ld(1), mcs(1), elf(3ELF), tmpnam(3C), a.out(4), ar.h(3HEAD), attributes(5), environ(5), standards(5)NOTES
The symbol table section is not removed if it is contained within a segment or if the file is a relocatable object.
The line number and debugging sections are not removed if they are contained within a segment or if their associated relocation section is
contained within a segment.
The strip command is used to remove a standard predefined set of sections from an ELF object file. To remove a user specified section by
name, see mcs(1).
SunOS 5.11 5 Oct 2007 strip(1)