Small Help on SED


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Small Help on SED
# 8  
Old 09-19-2006
thank you aigles .. i got it
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need a small help

Hi, sorry for inconvenience..wrong query posted. Thanks for your help. Thanks (1 Reply)
Discussion started by: kirankumar
1 Replies

2. What is on Your Mind?

A small irritation

I thought I post about a small irritation that I have been having for years, in fact ever since CDs came out, which is a good 25 years now. For some reason, CD player manufacturers do not design their tray to come out completely and leaving about 1cm or 2cms of the tray in the system, so that it is... (8 Replies)
Discussion started by: figaro
8 Replies

3. Shell Programming and Scripting

Need small help

Hi all, I have two files in my folder 1.index.jsp 2.maintenance.jsp Once hit the URL in IE,It will call the index.jsp file than application working fine. I want to some maintenance in my application, during the application maintenance than it will... (1 Reply)
Discussion started by: lkeswar
1 Replies

4. Shell Programming and Scripting

SED help, small problem

Hi, I have this sed command to grep a date from a filename for a script we have. I am awful with sed so I need help. Sometimes it works fine but other times it does not, see below. works bash-3.00# echo... (1 Reply)
Discussion started by: GermanJulian
1 Replies

5. Shell Programming and Scripting

sed parse small xml file

I have a tmp.xml file like: <?xml version="1.0" encoding="UTF-8"?> <Response> <Ip>193.143.121.198</Ip> <Status>OK</Status> <CountryCode>PL</CountryCode> <CountryName>Poland</CountryName> <RegionCode>82</RegionCode> <RegionName>Pomorskie</RegionName> <City>Gdansk</City> ... (9 Replies)
Discussion started by: unclecameron
9 Replies

6. Shell Programming and Scripting

Need small help

Hi, i have a client requirement to post the files into generic folder named as "source".file identification is to retrieve Publication code (Instance name) from the file name.So thereafter we move the files to different instances of specific folders for the same unix server.(means if the file... (2 Replies)
Discussion started by: kirankumar
2 Replies

7. Shell Programming and Scripting

small sed script on command line.

Can anyone help me get this small sed script to work in shell on the command line? I need it in a one liner really as i want to edit many scripts in a for loop and dont want to have to invoke a separate script each time. #!/bin/sh sed '/mailx\ -s.*$ { i\ #Comment above mailx line ... (5 Replies)
Discussion started by: lavascript
5 Replies

8. UNIX for Advanced & Expert Users

Two small queries

Query 1 : How to check if a directory already exists? If doesn't exist then create a new one. Query 2 : I want to put following text using a single echo statement into a log file and also want to retain the formatting of the text. How it can be... (3 Replies)
Discussion started by: skyineyes
3 Replies

9. UNIX for Dummies Questions & Answers

Sed working on lines of small length and not large length

Hi , I have a peculiar case, where my sed command is working on a file which contains lines of small length. sed "s/XYZ:1/XYZ:3/g" abc.txt > xyz.txt when abc.txt contains lines of small length(currently around 80 chars) , this sed command is working fine. when abc.txt contains lines of... (3 Replies)
Discussion started by: thanuman
3 Replies

10. UNIX for Dummies Questions & Answers

small unix!

i'm looking to put a very minimal unix on a 386 i just acquired. it needs to be downloadable and i need to install it using 3.5 floppies! thanks for suggestions, -nydel (4 Replies)
Discussion started by: nydel
4 Replies
Login or Register to Ask a Question
orber_acl(3erl) 					     Erlang Module Definition						   orber_acl(3erl)

NAME
orber_acl - Orber ACL operations DESCRIPTION
This module contains functions intended for analyzing Access Control List (ACL) filters. The filters uses a extended format of Classless Inter Domain Routing (CIDR). For example, "123.123.123.10" limits the connection to that particular host, while "123.123.123.10/17" allows connections to or from any host equal to the 17 most significant bits. Orber also allow the user to specify a certain port or port range, for example, "123.123.123.10/17#4001" and "123.123.123.10/17#4001/5001" respectively. IPv4 or none compressed IPv6 strings are accepted. EXPORTS
match(IP, Direction) -> boolean() match(IP, Direction, GetInfo) -> Reply Types IP = tuple() | [integer()] Direction = tcp_in | ssl_in | tcp_out | ssl_out GetInfo = boolean() Reply = boolean() | {boolean(), [Interface], PortInfo} Interface = string() PortInfo = integer() | {integer(), integer()} If GetInfo is not supplied or set to false, this operation returns a boolean which tells if the IPv4 or IPv6 address would pass the ACL filter, defined by the iiop_acl configuration parameter, or not. When GetInfo is set to true, a tuple which, besides the boolean that tells if access was granted, also include the defined interfaces and port(s). This operation requires that Orber is running and can be used on a live node to determine if Orber has been properly configured. verify(IP, Filter, Family) -> Reply Types IP = string() Filter = string() Family = inet | inet6 Reply = true | {false, From, To} | {error, string()} From = string() To = string() This operation returns true if the IPv4 or IPv6 address would pass the supplied ACL. If that is not the case, a tuple containing the accepted range is returned. This operation should only be used for test purposes. range(Filter, Family) -> Reply Types Filter = string() Family = inet | inet6 Reply = {ok, From, To} | {error, string()} From = string() To = string() Returns the range of accepted IP addresses based on the supplied filter. This operation should only be used for test purposes. Ericsson AB orber 3.6.20 orber_acl(3erl)