Hi All,
I am new to shell scripting but have successfully created some of my own scripts using awk and sed. However, I have come across a problem that I cannot solve on my own and have not been able to find a good example that relates to what I am trying to do.
What I need is for the... (4 Replies)
I have lines in a file like this (140,000+ entries):
value1,
value2,
value3,
"
"
I want to concatenate the three (there are 22) lines with commas so it looks like this
value1, value2, value3
"
"
I'm trying with
:g/,$/s/,$/, /g
but that is not flying.
any ideas? (6 Replies)
Hello,
I am using the following script to read some log and then contruct my email for notification.
When I run this on my test server, i am getting the output as below,
But when I move to another server, the EOL seems to not affect,
should I use some setting so the output is... (1 Reply)
Hi,
I have a text as below
test1 test2 test3\
test4 test5 test6 test7
newtest1 newtest2\
newtest3 newtest4 newtest5
And need this to be replaces to
test1 test2 test3 test4 test5 test6 test7
newtest1 newtest2 newtest3 newtest4 newtest5
So my requirement is to remove the EOL... (5 Replies)
working on interactive ftp script
saving log and want to remove the password from log
so "quote PASS foofoo" would become "quote PASS XXXXXXX"
replacing or removing the password is of no matter
have tried several sed commands but have only been successful with character matching not pattern
... (2 Replies)
I was editing a file with vi and crashed so when I opened the file again I had the .swp file to deal with. I made the wrong choice trying to recover my file and wound up with a file with no eol (end of line) characters.
I have forgotten the code to substitute and don't want to make an even... (2 Replies)
Hard to imagine that in the two decades of its existence this product once ruled supreme, but the news is finally there:
RIP Internet Explorer: Twitter mourns and mocks death of Microsoft (0 Replies)
Discussion started by: figaro
0 Replies
LEARN ABOUT ULTRIX
pm
pm(4) Kernel Interfaces Manual pm(4)Name
pm - monochrome/color bitmap graphics
Syntax
device pm0 at ibus? vector pmvint
Description
The video subsystem provides a half page or full page, user-accessible bitmap display for graphics. The subsystem consists of a 256 Kbytes
(monochrome) or a 1 Mbyte (color) block of dual port RAM, a mouse or tablet, a keyboard, and a video monitor.
The subsystem device driver supports a hybrid terminal with three minor devices. The first minor device emulates a glass tty with a screen
that appears as an 80-column by 56-row page that scrolls from the bottom. This device is capable of being configured as the system con-
sole.
The second minor device is reserved for the mouse. This device is a source of mouse state changes. (A state change is defined as an X/Y
axis mouse movement or button change.) When opened, the driver couples movements of the mouse with the cursor. Mouse position changes are
filtered and translated into cursor position changes in an exponential manner. Rapid movements result in large cursor position changes.
All cursor positions are range checked to ensure that the cursor remains on the display.
The third minor device provides an access path for console output that does not disturb the graphics display. The caller can open the
device When this device is open, the graphics driver redirects console device output to the input buffer of this device. This mechanism
disables console output on the screen and saves the output for later display. This preserves the graphic display integrity.
Input and output on the first and third minor devices are processed by the standard line disciplines.
The Hold Screen key is supported. The graphics driver treats this key as if CTRL/S or CTRL/Q had been pressed. Pressing the Hold Screen key
suspends the output (if it is not already suspended). To resume the output, press the Hold Screen key again.
Files
Console terminal or graphics device
Mouse or tablet graphics device
Console message window for workstation
See Alsoconsole(4), devio(4), tty(4), ttys(5), MAKEDEV(8)
RISC pm(4)