07-11-2017
I see. That explained everything.
Thank you!
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi guys,
Do you know how can I sort a file horizontally per line???
sample input file:
zebra papa dog apple
yahoo kangaroo ape
sample output:
apple dog papa zebra
ape kangaroo yahoo
Please post if u know the sed implementation of this (or whatever implementation u may know of)... (7 Replies)
Discussion started by: marlonus999
7 Replies
2. Linux
say i have these many file in a directory named exam.
1)/exam/newfolder/link.txt.
2)/exam/newfolder1/
and i create a tar say exam.tar
well the problem is,
when i read the tar file i dont find any metadata about the directories,as you cannot create a tar containig empty directories.
on the... (2 Replies)
Discussion started by: Tanvirk
2 Replies
3. Shell Programming and Scripting
I have one large file, after every 200 line i have to split the file and the add header and footer to each small file?
It is possible to add different header and footer to each file? (1 Reply)
Discussion started by: ashish4422
1 Replies
4. Shell Programming and Scripting
Input
#HAC0253
EFVHIJHIJEFVTHIJOPKOPKTEFVEFVEFVOPKHIJOPKOPKHIJTTEFVEFVTEFV
#BASFS12
EFVEFVHIJEFVEFVTOPKEFVOPKTHIJTTHIJOPK
#ACG5115
TEFVEFVOIJEFVHIJHIJOPKOPKHIJHIJTTEFVEFVOPKTTEFVEFVOPKHIJOPKOPKOPK
#ECG5114
IJTOPKHIJEFVOEFVEFVOPKTTEFVEFVOPKHIJOPKOPKOPK
.
.
Output (5 Replies)
Discussion started by: patrick87
5 Replies
5. Shell Programming and Scripting
Hi Experts,
In our project we have requirement where in we have to compare header of one file with header in the parameter file.
There are 20 files which we ftp from one site. All this files have different header.
We are comapring this file with our parameter file(which is having the header... (2 Replies)
Discussion started by: Amey Joshi
2 Replies
6. UNIX for Dummies Questions & Answers
Friends,
I need help with the following in UNIX.
Merge all csv files in one folder considering only 1 header row and ignoring header of all other files.
FYI - All files are in same format and contains same headers.
Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies
7. Shell Programming and Scripting
Hi,
I have an input like this
1 2 3 4
2 3 4 5
4 5 6 7
I would like to count the no. of columns and print a header with a prefix "Col".
I would also like to count the no. of rows and print as first column with each line number with a prefix "Row"
So, my output would be
... (2 Replies)
Discussion started by: jacobs.smith
2 Replies
8. Shell Programming and Scripting
Hello There...
I have a sample input file ..
number:department:amount
125:Market:125.23
126:Hardware store:434.95
127:Video store:7.45
128:Book store:14.32
129:Gasolline:16.10
I will be doing some manipulations on all the records except the header, but the header should always be... (2 Replies)
Discussion started by: juzz4fun
2 Replies
9. Shell Programming and Scripting
I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty.
I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies
model(4) Kernel Interfaces Manual model(4)
NAME
model - HP-UX machine identification
SYNOPSIS
DESCRIPTION
There are certain inevitable distinctions between HP-UX implementations due to hardware differences. Where such distinctions exist, condi-
tional compilation or other definitions can be used to isolate the differences. Flags and typedefs to resolve these distinctions are col-
lected in the header file which contains constants identifying various HP-UX implementations.
For example, header file contains the following constants whose values are defined in
Other such constants are added as appropriate when HP-UX extends to other machines in subsequent releases.
In addition, has a statement defining the preprocessor constant to represent the specific implementation for which compilation is desired.
is always equal to one of the constants above.
Conditional compilation can be used to adapt a single file for execution on more than one HP-UX implementation if the file contains imple-
mentation- or architecture-dependent features. For example, the code segment:
<statements>
causes statements following the if statement to be compiled if the system processor is an HP 9000 Series 400 machine.
also contains typedefs for several predefined types to enhance portability of certain types of code and files.
These typedef declarations have been replaced by the header file
Signed and unsigned 8-bit integral type.
Signed and unsigned 16-bit integral type.
Signed and unsigned 32-bit integral type.
Signed and unsigned integral type large enough to hold a pointer.
To port code to use instead of these are the corresponding definitions contained in
Signed and unsigned 8-bit integral types.
Signed and unsigned 16-bit integral types.
Signed and unsigned 32-bit integral types.
Signed and unsigned integral large enough to hold a pointer.
Certain C preprocessor conditional compilation variables are defined to aid in implementation-dependent code. See cpp(1).
SEE ALSO
cc(1), cpp(1), inttypes(5), magic(4).
TO BE OBSOLETED model(4)