07-10-2013
Quote:
Originally Posted by
punticci
I know. But what i mean is how can i create a file like this? A kind o table i mean.. Is there some specific command?
There is no specific command to create table in unix.. If you know which all the fields to take out from the input file to form the table then we can use awk to create a table like structure
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a small problem getting a batxh shell script to run in shell
this is the code
the problem seems to be centered around the ffmpeg command, something maybe to do with the ' ' wrapping around the vhook part command
this is a strange problem , if i take the ffmpeg command and... (1 Reply)
Discussion started by: wingchun22
1 Replies
2. Shell Programming and Scripting
Is there a way to append or insert a word into a text file?
for example:
if a file contains the lines......
profilename="test_profile"
ear="${WpsInstallLocation}/installableApps/"
conntype="SOAP"
What I would like to have is the word test.ear inserted as below.....
... (4 Replies)
Discussion started by: norman_d_builde
4 Replies
3. Shell Programming and Scripting
Hi,
Anybody know on how to insert C code in shell script. I am writing BLOB data to a database table in C but I don't know on how to insert the C code in shell script. Thanks in advance. (1 Reply)
Discussion started by: badbunny9316
1 Replies
4. Shell Programming and Scripting
Hi Frnds,
in shell script I have one problem while inserting into oracle table .
my script
#! /usr/bin/sh
while read record
do
echo $record
X=`sqlplus -s STN/errrmddb20@MAHFDR <<eof
insert into STN.STN_ERROR_TABLE values($record);
eof`... (12 Replies)
Discussion started by: Gopal_Engg
12 Replies
5. Shell Programming and Scripting
Hi,
I need to ping all the systems in my network and then create a log for the ones, from where I successfully get the ping-response (ICMP packet).
Now, I've used the ping command successfully, but am unable to use 'grep' command to locate the IPs for which the ping was successful (so that I... (5 Replies)
Discussion started by: psychoTHEIST
5 Replies
6. Linux
Hi gud day,
I would like to ask if possible to load the driver i compiled module without installing it in the ubuntu-kernel-distro/updates* or simple not executing "make install". what i mean is i compile the compat wireless driver using make and i want to try to load
on the system without... (1 Reply)
Discussion started by: jao_madn
1 Replies
7. UNIX for Dummies Questions & Answers
Hai,
How to insert a new line chracter "\n" in a line if it has more than 72 characters. My requirement is if the line has 72 characters i have to split it into two lines as follows.
I/p line :
this is a test line which is crossing seventy two characters so i have to split it -- this is of... (4 Replies)
Discussion started by: Sivajee
4 Replies
8. Shell Programming and Scripting
i am new to unix shell scripting, could someone please help me. i was asked to develop a unix script and requirement of the script is as follows:
1. In source directory, if any new files are being dropped by external system then an email should be sent out with a message saying "files are... (3 Replies)
Discussion started by: crefi1545
3 Replies
9. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
10. UNIX for Beginners Questions & Answers
Hi All
I am trying to create a shell script to insert in to oracle table
so far insert happens with out an issue,
but i cant pass message variable to sqlplus script insert. i have highlighted the variable in red.
Please help.
thanks in advance.
#!/bin/sh
df -H | grep -vE... (3 Replies)
Discussion started by: LPK
3 Replies
LEARN ABOUT HPUX
xtparsetranslationtable
XtParseTranslationTable() XtParseTranslationTable()
Name
XtParseTranslationTable - compile a translation table into its internal representation.
Synopsis
XtTranslations XtParseTranslationTable(table)
String table;
Inputs
table Specifies the translation table to compile.
Returns
The compiled form of table.
Description
XtParseTranslationTable() compiles table into its opaque internal representation of type XtTranslations. This compiled form can then be
set as the value of a widget's XtNtranslations resource, or merged with a widget's existing translation table with XtAugmentTranslations()
or XtOverrideTranslations().
The syntax of the string representation of a translation table is documented in Appendix F.
If an empty translation table is required for any purpose, one can be obtained by calling XtParseTranslationTable() and passing an empty
string.
Usage
This function is generally only needed by application writers. When writing a widget, you specify a default translation table as a string,
which the Intrinsics automatically parse.
You only need to use this function when you want to set translation values from C code; translation tables specified in resource files are
automatically compiled by a resource converter.
It is also possible to set a translation table with the XtVaTypedArg feature of XtVaCreateWidget() and XtVaSetValues(). This allows you to
specify the translation table in string form, and have the appropriate resource converter automatically invoked to compile it.
The string table passed to XtParseTranslationTable can be freed after the call if there are no more explicit references to it.
See Also
XtAugmentTranslations(1), XtOverrideTranslations(1), XtUninstallTranslations(1).
Xt - Translations and Actions XtParseTranslationTable()