Hi,
My input has much more lines, but few of them are below
pin(IDF) {
direction : input;
drc_pinsigtype : signal;
pin(SELDIV6) {
direction : input;
drc_pinsigtype : ... (3 Replies)
i have a file which contains alphanumeric data in every line. what i need is the data after certain pattern. the data after the pattern is not of fixed length so i need the data till the space after the pattern.
Input file:
bfdkasfbdfg khffkf lkdhfhdf pattern (datarequired data not required)... (2 Replies)
Hello,
I want to read a CSV file and look for a pattern on each line. If the pattern is found I want to read another portion/column of that line and print that. Can somebody help me in writing it in CSH?
E.g. CSV file has following lines,
1,Elephant,500kg,,,,,
2,Tiger,50kg,,,,,... (4 Replies)
I have this content in file
sshd : ALL : allow
SSHD : all : ALLOW
sshD : All : AllOW
What I need is to print the occurrence of "sshd:all" regardless of the spaces between them and if lower/upper case. So all lines should be printed in output when "grepped" or "printed... (3 Replies)
Hi Gurus, i need your help to create a script the will print a characters after the pattern was found.
Sample lines are below:
My birthday:"1977-16-07", My birthday:"1975-16-07"
My birthday:"1970-16-07".
My patter should be "birthday:", then i want to print the following characters which... (18 Replies)
Using grep I can easily use:
cvs log |grep -iB 10 -A 10 'date: 2013-10-30'
to display search results and 10 lines before and after. How can this be accompished using gawk? (4 Replies)
Hi,
I need help on a complicated file that I am working on. I wanted to extract important info from a very huge file. It is space delimited file. I have hundred thousands of records in this file. An example content of the inputfile as below:-
##
ID Ser402 Old; 23... (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
9. Post Here to Contact Site Administrators and Moderators
In file, we have millions of records each of 1000 in length. And at specific position say 800 there is a space, we need to replace it with Character X if the ID in that row starts with 123.
So far i have used the below which is replacing space at that position to X but its not checking for... (3 Replies)
Hi,
I am trying to extract data based on certain conditions. My sample input file as below:-
lnc-2:1 OnePiece tra_law 500 688 1 . . g_id "R792.8417"# tra_law_id "R792.8417.1"# g_line "2.711647"# KM "8.723820"#
lnc-2:1 OnePiece room 500 510 1 . . g_id "R792.8417"# tra_law_id "R792.8417.1"#... (7 Replies)
Discussion started by: bunny_merah19
7 Replies
LEARN ABOUT ULTRIX
newinv
newinv(1) General Commands Manual newinv(1)Name
newinv - update distribution kit master inventory
Syntax
/usr/sys/dist/newinv mi-file input-path
Description
The command interactively maintains the master inventory files used for producing distributions in format. The program updates the master
inventory for a product when changes are made to the hierarchy of files which are to be packaged in the subsets which constitute the prod-
uct.
The product hierarchy is scanned to produce a list of component path names relative to input-path. The list of path names is processed
against the mi-file to produce a list of those files which have been removed from the product hierarchy and a list of those files which
have been added.
The user is then given an opportunity to intervene and direct the inventory maintenance by editing these lists. The user is placed in the
editor with each list available for editing. The editor used is the one specified by the EDITOR environment variable. If EDITOR is not
set, is used. When editing the list of files which have been removed from the product, the user is expected to verify that the removals
were intentional, and confirm the intent by removing the associated record from the file. When editing the list of files which have been
added to the product, the user is expected to provide flags and subset information for each new file, transforming the elements of the list
into master inventory records.
Both of these lists are merged with the records for the files which have not been changed to produce a new copy of the master inventory
file.
Arguments
mi-file The pathname of the master inventory file to be processed. If no master inventory file exists, you must create an empty one
before using the command.
input-path The name of the product hierarchy to be scanned for files belonging in the inventory. All files and directories found below
the input-path will be processed as belonging in the inventory.
Restrictions
The default text editor if not specified in $EDITOR is
Files in the product hierarchy cannot be excluded from the master inventory. Files can be blocked from being kitted in the final distribu-
tion kit by setting the subset field of the master inventory record to NOSHIP.
Examples
To update the master inventory file ULT400.mi from the hierarchy beginning at /var/kits/input, type:
newinv ULT400.mi /var/kits/input
Diagnostics
newinv: where is mi-file?
The mi-file specified on the command line cannot be found.
input-path: bad directory.
The input-path directory specified on the command line does not exist.
Files
Backup copy of master inventory
The list of files missing from the product.
The list of files new to the product.
Intermediate join file.
List of all files in the product.
See Alsokits(1), vi(1), stl_mi(5), environ(7), setld(8)
Guide to Preparing Software for Distribution on ULTRIX Systems
newinv(1)