Hi folks,
I have the following configuration file:
tofu:/tmp # cat bitbandConfig.properties
maestroIp=10.10.10.10
maestroPort=2020
adminPlayPath=<Streaming Agent IP>:2021/streamingGateway/GetPlayList
###This part should not be changed###
adminPlayVODProtocol=http
username=iptv... (7 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello everyone
Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried
sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
I came across and unexpected behavior with redirections in tcsh. I know, csh is not best for redirections, but I'd like to understand what is happening here.
I have following script (called out_to_streams.csh):
#!/bin/tcsh -f
echo Redirected to STDOUT > /dev/stdout
echo Redirected to... (2 Replies)
Hello.
Following recommendations for one of my threads, this is working perfectly :
#!/bin/bash
CNT=$( grep -c -e "some text 1" -e "some text 2" -e "some text 3" "/tmp/log_file.txt" )
Now I need a grep success for some thing like :
#!/bin/bash
CNT=$( grep -c -e "some text_1... (4 Replies)
i need to substitute word on a specific line.
I was able to do it on command line like below but it is not working in vi.
command line like below:
sed -e '8s/table_name/schema.table_name/' file_name.
in vi table_name and schema are my positional parameters that i pass into the
script.
... (5 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
Discussion started by: Hiroshi
2 Replies
LEARN ABOUT ULTRIX
ansi_ps
ansi_ps(8) System Manager's Manual ansi_ps(8)Name
ansi_ps, regis_ps, tek4014_ps - datatype to PostScript translators
Syntax
/usr/lib/lpdfilters/ansi_ps [ options ]
/usr/lib/lpdfilters/regis_ps [ options ]
/usr/lib/lpdfilters/tek4014_ps [ options ]
Description
Each translator reads from standard input and writes to standard output. If the data type is to be printed on a PostScript printer with
specialised support, the translator is invoked by using the script. Refer to
The command is the ANSI to PostScript translator.
The command is the Regis to PostScript translator.
The command is the Tektronix 4014 to PostScript translator.
The ANSI translator implements DEC-STD-074-0 (Printer System Reference Manual) and conforms to ISO/DSI 6429, ISO/DSI 2022, and ANSI X3.4
standards. Escape sequences (documented in the translator reference manual) that do not begin with DEC are taken from the ISO/DSI 6429,
ISO/DSI 2022 and ANSI X3.4 standards. Escape sequences that begin with DEC are legal extensions of DEC-STD-074-0. The ANSI translator
implements a few of the escape sequences documented in these standards.
The ANSI translator, requires a preamble to be present in the printer, and is designed to send this preamble to the printer. However, it
is quicker if the TCP/IP Supporting Host Software loads the preamble at boot time.
For instructions on what to do to enable the TCP/IP Supporting Host software to load the preamble when it boots, and to disable the trans-
lator from sending the preamble, see the Release Notes.
Options
The valid options for the translator are:
-e Interpret line feed as carriage return line feed. It is implemented by sending the control sequence string, to the translator before
reading standard input.
-Fpagesize
Select the size of the pages to be printed. The valid page sizes are: letter, a, ledger, b, legal, executive, a5, a4, a3, b5 or b4.
If the page size is not specified, a4 is used.
-Oorientation
Select the orientation of the text on the page. The valid orientations are: portrait or landscape. If the orientation is not speci-
fied, portrait is used.
-moutput_mode
Select the output mode of The output modes are:
8f Full 8-bit output
7f 7-bit output
8g GL/GR only
7g GL only
If the output mode is not specified, 8f is used.
-Rresource_string
Inform of a pre-loaded resource present in the PostScript environment of the printer. Multiple -R options may be passed.
-s Inhibit the final showpage. This allows more than one page to be printed on each sheet.
The valid options for the and translators are:
-Fpagesize
Select the size of the pages to be printed. The valid page sizes are: letter, a, ledger, b, legal, executive, a5, a4, a3, b5 or b4. If
the page size is not specified, a4 is used.
-Oorientation
Select the orientation of the text on the page. The valid orientations are: portrait or landscape. If the orientation is not speci-
fied, portrait is used.
-s Inhibit the final showpage. This allows more than one page to be printed on each sheet.
See Alsoln03rof(8), lpd(8), xlator_call(8)ansi_ps(8)