04-26-2010
The version of sed in UnxUtils is quite old, i.e. 3.0.2, according to the UnxUtils website. It might be worth downloading the latest version of sed for Windows, i.e. 4.2, from
Sed for Windows.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: nehashine
3 Replies
2. Shell Programming and Scripting
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)
Discussion started by: gpk_newbie
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: deshiashish
4 Replies
4. Shell Programming and Scripting
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)
Discussion started by: anil510
3 Replies
5. Shell Programming and Scripting
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)
Discussion started by: scripter123
18 Replies
6. Shell Programming and Scripting
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)
Discussion started by: metallica1973
4 Replies
7. Shell Programming and Scripting
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)
Discussion started by: redse171
2 Replies
8. Shell Programming and Scripting
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)
Discussion started by: Jagmeet Singh
3 Replies
10. UNIX for Beginners Questions & Answers
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 OSF1
invcutter
invcutter(1) General Commands Manual invcutter(1)
NAME
invcutter - Generates a subset inventory file
SYNOPSIS
/usr/lbin/invcutter [-d] [-f root-path] [-v version-code]
OPTIONS
Enables debugging. No useful diagnostics are printed. Specifies an alternate root path for finding file attribute information. Specifies
a 3-digit version code for use in the version field of the output records. The default version code is 010.
DESCRIPTION
The contents of a software product kit for the setld(8) command are specified by a master inventory file whose format is described in the
stl_mi(4) reference page. The invcutter command processes a master inventory file by reading inventory records from standard input and
writing one record to standard output for each record read.
The information contained in the output record is derived from the input record and from the file attribute information in the file hierar-
chy rooted in the current directory.
RESTRICTIONS
Input records must be sorted in ascending ASCII order on the pathname field.
The invcutter command cannot process input-specified files which exist as sockets in the file hierarchy.
If an input-specified file has a link count greater than 1, all other links to the file must be represented in the input.
RETURN VALUES
An exit status of 0 indicates success. An exit status of 1 indicates an error. See ERRORS.
ERRORS
The program cannot set its working directory to the pathname directory specified with the -f option. The error-message provides additional
information. The nth input record is not in the correct sort order. All input records must be in ascending ASCII collating sequence on
the pathname field. An error has occurred attempting to read the attributes of filename. The error-message explains exactly what happened.
The file named by pathname is a socket. Sockets are not supported as valid file types for distribution. File pathname in the master
inventory is linked to n files which do not appear in the master inventory. Check the inventory for validity with the newinv program.
This informational message states how many files with unresolved links were detected in the input inventory.
EXAMPLES
The following command generates inventory records for the master inventory entries in PDS020.mi. Output records contain version fields set
to 020: invcutter -v 020 < PDS020.mi
SEE ALSO
Commands: kits(1), newinv(1)
Files: stl_inv(4), stl_mi(4)
Guide to Preparing Product Kits
invcutter(1)