what is a flat file in unix?
i have to import a unix flat files from windows based programme.
my question is not to export from unix but only to import from windows only.
how to build that flat files?
how to create export to windows
how to import from windows (3 Replies)
Hi,
I have a comma delimited string, e.g. empno, ename, sal.
Using Korn Shell Script I want to build the SET clause for an UPDATE statement, and set clause should look like this:
empno=decode(:empno, '?', empno, :empno),
ename=decode(:ename, '?', empno, :ename),
sal=decode(:sal, '?',... (14 Replies)
Hi guys,
I am new to shell scripting, i need your help to tackle a problem.
I have a single file, sample is below:
2008:07:08 07:01:14.360 (tid 4) INFO no bonus notifications to send
2008:07:08 07:01:50.823 (tid 1) INFO Database cleaned of all stale bonus records order than 30 days... (3 Replies)
I'm trying to customize my environment at work in a Unix system.
So I'm starting with the ls command...
I'd like to make it run as the Linux ls...
Even in color, if possible...
My first problem is to make the file listing brake in columns...
In fact, the actual ls from Unix does this, but... (3 Replies)
Hi! Any knows if Unix (from IBM, Sun, HP, etc) is picky on hardwares? I mean, installing Unix (not Linux) on a custom build system?
Thanks. (2 Replies)
Hi all,
We have a requirement like,
There will be a file. For example the content will be as follows
+=KA100012345678 0114092150R328abcdefgh
D 345626 011409
1 2121212 232323 12121212 2323232323 1212121
We need to select the bold portion and change it to a... (11 Replies)
Hello Everyone,
This post is a result of my search and quest to build a Unix Server at Home. I am familiar with the most of the systems such as, Solaris 10, HP-UX & Linux.
Can somebody help me with more information about How to Build a Unix Server right from Fundamentals.... ?
I have... (5 Replies)
I'm trying to build a program and I'm getting a series of messages that I don't understand (new to UNIX):
make: Entering directory `/disk/cg6/ccoda/code/proj/abrupt/exp/cam1/models/atm/cam/tools/scam/ui'
g++ -c -Wall -g -DLINUX -DREAL_TYPE=double -DNeedFuncProto ... (7 Replies)
Hi!
I am looking to build dynamic menu (named: lookup.sh) that reads a pipe delimited file for input.
for example, contents of input.txt could be:
user1|srv1
user3|srv1
user4|srv1
user2|srv2
I want the menu look like:
1) get password for user1 on srv1
2) get password for user3 on... (7 Replies)
Nice UNIX history article by John Loeffler, February, 05th 2019
UNIX: Building The Most Important OS in the World
The most widely used operating system in the world was a project born out of failure. (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT PHP
ps_setpolydash
PS_SETPOLYDASH(3) 1 PS_SETPOLYDASH(3)ps_setpolydash - Sets appearance of a dashed lineSYNOPSIS
bool ps_setpolydash (resource $psdoc, float $arr)
DESCRIPTION
Sets the length of the black and white portions of a dashed line. ps_setpolydash(3) is used to set more complicated dash patterns.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $arr
-$arr is a list of length elements alternately for the black and white portion.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Drawing a dashed line
<?php
$ps = ps_new();
if (!ps_open_file($ps, "polydash.ps")) {
print "Cannot open PostScript file
";
exit;
}
ps_set_info($ps, "Creator", "polydash.php");
ps_set_info($ps, "Author", "Uwe Steinmann");
ps_set_info($ps, "Title", "Poly dash example");
ps_begin_page($ps, 596, 842);
ps_setpolydash($ps, array(10, 5, 2, 5));
ps_moveto($ps, 100, 100);
ps_lineto($ps, 200, 200);
ps_stroke($ps);
ps_end_page($ps);
ps_delete($ps);
?>
This example draws a line with a 10 and 2 points long line, and gaps of 5 points inbetween.
SEE ALSO ps_setdash(3).
PHP Documentation Group PS_SETPOLYDASH(3)