Sponsored Content
Full Discussion: Words after / symbol
Top Forums Shell Programming and Scripting Words after / symbol Post 302556582 by dbashyam on Monday 19th of September 2011 06:34:41 AM
Old 09-19-2011
Words after / symbol

Hi,

I have the following directory:

/home/dragon/websphere/cells/profile/imp/001/

I want to put this in a shell script and get the values before and after cells by removing the '/'

Any idea how to make this possible?

Regards,
Dinesh
 

10 More Discussions You Might Find Interesting

1. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

2. Shell Programming and Scripting

Shell script to find out words, replace them and count words

hello, i 'd like your help about a bash script which: 1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel, 2.finds the link which leads to the download location of the Latest Stable Kernel version, (the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies

3. Shell Programming and Scripting

SED - delete words between two possible words

Hi all, I want to make an script using sed that removes everything between 'begin' (including the line that has it) and 'end1' or 'end2', not removing this line. Let me paste an 2 examples: anything before any string begin few lines of content end1 anything after anything before any... (4 Replies)
Discussion started by: meuser
4 Replies

4. Shell Programming and Scripting

Remove whitespace after pipe symbol but not inside words

I have a file that looks like this: 102| #2 X 1/4-INCH| 30188| EA| FTW| A| NOT SERIAL TRACKING| NOT LOT TRACKING| TRUE| #2 X 1/4-INCH 102| #2 X 1/4-INCH| 30188| EA| VPS| A| NOT SERIAL TRACKING| NOT LOT TRACKING| TRUE| #2 X 1/4-INCH 102| #6 X 1/2"| ... (2 Replies)
Discussion started by: djehresmann
2 Replies

5. Shell Programming and Scripting

How count the number of two words associated with the two words occurring in the file?

Hi , I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Discussion started by: jmarx
1 Replies

6. Shell Programming and Scripting

Gawk gensub, match capital words and lowercase words

Hi I have strings like these : Vengeance mitt Men Vengeance gloves Women Quatro Windstopper Etip gloves Quatro Windstopper Etip gloves Girls Thermobite hooded jacket Thermobite Triclimate snow jacket Boys Thermobite Triclimate snow jacket and I would like to get the lower case words at... (2 Replies)
Discussion started by: louisJ
2 Replies

7. UNIX for Dummies Questions & Answers

Replace the words in the file to the words that user type?

Hello, I would like to change my setting in a file to the setting that user input. For example, by default it is ONBOOT=ON When user key in "YES", it would be ONBOOT=YES -------------- This code only adds in the entire user input, but didn't replace it. How do i go about... (5 Replies)
Discussion started by: malfolozy
5 Replies

8. UNIX for Dummies Questions & Answers

Deleting words between every appearance of two words

Hi there, newbie there. I've been browsing the forums hoping to find a solution that answers a problem similar to what I need, but haven't had much luck. Any help would be greatly appreciated. Thanks! I need to delete a bunch of text between every appearance of two words in a really large file... (3 Replies)
Discussion started by: lendl
3 Replies

9. Shell Programming and Scripting

Search words in any quote position and then change the words

hi, i need to replace all words in any quote position and then need to change the words inside the file thousand of raw. textfile data : "Ninguno","Confirma","JuicioABC" "JuicioCOMP","Recurso","JuicioABC" "JuicioDELL","Nulidad","Nosino" "Solidade","JuicioEUR","Segundo" need... (1 Reply)
Discussion started by: benjietambling
1 Replies

10. Shell Programming and Scripting

Replace particular words in file based on if finds another words in that line

Hi All, I need one help to replace particular words in file based on if finds another words in that file . i.e. my self is peter@king. i am staying at north sydney. we all are peter@king. How to replace peter to sham if it finds @king in any line of that file. Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
CATAL(5)						       ALLIANCE FILE FORMATS							  CATAL(5)

NAME
catal - catalog file format ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr DESCRIPTION
Predefined libraries The environment variable MBK_CATA_LIB(1) defines several paths corresponding to the Alliance predefined cell libraries. Each library is in one unix directory. sxlib standard cell library dp_sxlib data-path compiler library rflib registers library ramlib ram library romlib rom library padlib pads lib For each library, a special file named CATAL describes the library contents. This file must be in the same directory as the library cells. For the Alliance tools, the cells described in the predefined libraries are read only. The working library The environment variable MBK_WORK_LIB(1) defines the current working directory. Its default value is . (dot). This directory will contain the user cells, seen as read write by the Alliance tools. It is not necessary to describe all the user cells in a catalog file. But the user can locally define a catalog file for the working library. The local catalog file name is set by the environ- ment variable MBK_CATAL_NAME(1), CATAL by default. Alliance will concatenate all catalog files of the predefined libraries and the optional catalog file of the working library to access the attributs of each cell. Cells attributs A cell may be characterized by four attributs: C this attribut means that the cell is a leaf cell in the context of a recursive flatten, for either the layout or netlist view. The cell will not be flattened. G this attribut means that the cell has an existing equivalent GDS or CIF representation. It is used by the sym- bolic to real translation tool, s2r(1), to make direct replacements. F this attribut means that the cell is used as a feed through. D this attribut is used only in the user defined catalog. As the user is not allowed to delete a cell in a prede- fined library, it is possible to virtually remove a cell of a predefined library with the D attribut in the user defined catalog. EXAMPLE
a2_y C a2p_y C a3_y C a3p_y C n1_y C na2_y C p1_y C tie_y C . . . p1_y G . . . tie_y F SEE ALSO
mbk(1), sxlib(1), incatalog(3), incatalogdelete(3), incatalogfeed(3), incataloggds(3), MBK_CATA_LIB(1), MBK_CATAL_NAME(1), MBK_WORK_LIB(1). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 CATAL(5)
All times are GMT -4. The time now is 01:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy