I have the file with the records like
4234234 US phone
3244234 US cup
2342342 CA phone
8947234 US phone
2389472 CA cup
2348972 US maps
3894234 CA phone
I want the records with (US,phone) as record to be in one file, (Us, cup) in another file and (CA,cup) to be in another
I mean all... (12 Replies)
Dear friends, Please help me to resolve the problem below,
I have a file with following content:
date of file creation : 12 feb 2007
====================
= name : suresh
= city :mumbai
#this is a blank line
= date : 1st Nov 2005
====================
few lines of some text
this... (7 Replies)
$ cat file
H1:12:90
k:12:b
n:22:i
k:54:b
k:42:b
s:48:s
a:41:b
t:18:n
c:77:a
I am trying to split above file based on $2 such that if $2 is rounded to nearest 10's multiple (e.g. 10,20,30 etc), each sub file should contain 3 multiples and so on (also I want to keep header i.e. NR==1, in... (6 Replies)
Hi folks,
I have a text file that I need to parse, and I cant figure it out. The source is a report breaking down softwares from various companies with some basic info about them (see source snippet below). Ultimately what I want is an excel sheet with only Adobe and Microsoft software name and... (5 Replies)
KSH
HP-SOL-Lin
Cannot use xAWK
I have several strings that are quite long and i want to break them down into smaller substrings.
What I have
String = "word1 word2 word3 word4 .....wordx"
What I want
String1="word1 word2"
String2="word 3 word4"
String3="word4 word5"
Stringx="wordx... (5 Replies)
Hello
What command can i use to split a tab delimited txt file into two files base on the occurrence of a string
my file name is EDIT.txt
The content of file is below
XX 1234 PROCEDURES
XY 1634 PROCEDURES
XM 1245 CODES
XZ 1256 CODES
It has more than a million record
If there is... (16 Replies)
hi ,
The scenario is like this,
i have a large text files (max 5MB , about 5000 file per day ),
Inside almost each line of this file there is a tag 3100.2.22.1 (represent Call_Type) , i need to generate many filess , each one with distinct (3100.2.22.1 Call_Type ) , and one more file to... (3 Replies)
Trying to use awk to format the input based on the filed count being 5. Most lines are fine using the awk below, except the first two lines. I know the reason is the -1 in green and -2 in blue. But can not figure out how to not split on the - if it is followed by a digit then letter. Thank you :).... (1 Reply)
Discussion started by: cmccabe
1 Replies
LEARN ABOUT HPUX
dce_version
dce_version(8)dce_version(8)NAME
dce_version - print version information for HP DCE/9000 components
SYNOPSIS
/opt/dcelocal/etc/dce_version [-uvlG] [-g group_list] [-f version_file] [files ... ]
OPTIONS -u Print a usage message.
-v Print DCE version. This is the default behavior.
-l List available groups of interesting files.
-F Print the name of the default version information file.
-G Search files in all groups for what strings.
-g group_list
Search files in groups specified by group_list for what strings. group_list is a comma or white-space-separated list of group
names. The available group names can be listed with -l.
-f version_file
Specify an alternate version information file to use. The version information file contains the DCE version string and
group/file lists. The default version information file is /opt/dcelocal/etc/dce_vinfo.
DESCRIPTION
By default, dce_version prints the version of DCE that is currently installed. It can also print the what strings for one or more groups
of ``interesting'' DCE files, list the available group names and descriptions, or search any specified file for DCE what strings. More
than one action can be specified in a single invocation of dce_version.
Filenames to be searched for DCE what strings should be specified after any command line options.
FILES
/opt/dcelocal/etc/dce_vinfo
SEE ALSO what(1)HP DCE dce_version(8)