interface Loopback0
description ny to miami
ip address 10.11.12.13 255.255.255.255
!
interface Loopback39
description ny to dallas
ip address 10.14.15.16 255.255.255.252
!
interface Loopback786
description ny to los angeles
ip address 10.17.18.19 255.255.255.255
there may or may not be lines following the ip address lines.
this is the actualy excution of the code
This is the system Im using.
Linux Server 2.6.32-358.2.1.el6.x86_64 Wed Mar 13 00:26:49 UTC 2013 x86_64 GNU/Linux
.. and the distribution Im running
Distributor ID: CentOS
Description: CentOS release 6.4
Release: 6.4
Thanks in advance
---------- Post updated 06-21-13 at 09:04 AM ---------- Previous update was 06-20-13 at 01:38 PM ----------
Hi all,
I've been experiencing a difficulty trying to match a number and write it to a new file.
My input file is: input.txt
It contains the lines:
103P 123587.256971 3.21472112 3.1517423
1.05897234566427 58.2146258 12.35478 25.3612489
What would be the sed command to... (17 Replies)
Hi,
I would like to use SED to do the following string replacement:
asd1abc to www1cda
asd2abc to www2cda
...
asd9abc to www9cda
I can use 'asd.abc' to find the orignal string, however I don't know how to generate the target string. Any suggestion?
Thanks,
... (2 Replies)
How can I write a script that takes a cisco config file and outputs every occurrence of two, or more, pattern matches through the whole config file?
For example, out of a config file, i want to print out every line with interface, description and ip address through the whole file, and disregard... (3 Replies)
I have following pattern in a file:
00:01:38 UTC
abcd
00:01:48 UTC
00:01:58 UTC
efgh
00:02:08 UTC
00:02:18 UTC
and I need to change something like the following
00:01:38 UTC
abcd
00:01:48 UTC
XXXX
00:01:58 UTC
efgh
00:02:08 UTC
XXXX (6 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 Replies)
Hello Experts , require help . See below output:
File inputs
------------------------------------------
Server Host = mike
id rl images allocated last updated density
vimages expiration last read <------- STATUS ------->... (4 Replies)
I need to grep for the pattern text inside the square brackets which are in red and not in green..my current code greps patterns both of them, which i don't want
Input fileref|XP_002371341.1| oxoacyl-ACP reductase, putative gb|EPT24759.1| 3-ketoacyl-(acyl-carrier-protein) reductase ... (2 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT DEBIAN
wml::std::box
wml::std::box(3) EN Tools wml::std::box(3)NAME
wml::std::box - Easily Create Rectangular Box
SYNOPSIS
#use wml::std::box
<box [attributes]>
...
</box>
DESCRIPTION
The "<box>" container tag puts its body into a nice rectangular box which itself is build via a HTML "<table>" construct.
ATTRIBUTES
"header"
This attribute switches between two totally different box variants. When it is present, a headlined box is created by the use of one
single table but with space GIFs. When this attribute is missing a standard box is created by the use of two nested tables but without
any space GIFs.
"bgcolor"
This sets the background color of the box.
"fgcolor"
This sets the foreground (text) color of the box.
"bdcolor"
This sets the color for the border of the box. The effect of this attribute is the automatic generation of a nested table construct to
achieve the optical effect.
"bdspace"
This sets the space between the border and the body of the box in pixels. Default is 4 pixel.
"bdwidth"
This sets the border width in pixels. Default is 1 pixel.
"width"
This sets the total table width in pixels. Default is no specific width for the standard box and 300 pixels for the headlined box
(because the headlined variant needs to know a fixed size to create the GIFs accordingly).
"summary"
Add a description of this table. This attribute is recommended in HTML 4.0.
EXAMPLE
<box bdcolor="#000000" bdwidth=1 bdspace=10
bgcolor="#ffffff" fgcolor="#000000">
Foo Bar Quux
</box>
<box header="Foo Bar Quux Header"
bdcolor="#000000" bdwidth=1 bdspace=10
bgcolor="#ffffff" fgcolor="#000000">
Foo Bar Quux
</box>
AUTHOR
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
REQUIRES
Internal: P1, P2
SEE ALSO
HTML "<table>" tag.
EN Tools 2014-04-16 wml::std::box(3)