11-04-2009
for text files it is cat.
i hope it would work for binary files also.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
My apologies if this has been posted elsewhere, I have had a look at several threads but I am still confused how to use these functions. I have two files, each with 5 columns:
File A: (tab-delimited)
PDB CHAIN Start End Fragment
1avq A 171 176 awyfan
1avq A 172 177 wyfany
1c7k A 2 7... (3 Replies)
Discussion started by: InfoSeeker
3 Replies
2. Shell Programming and Scripting
I am trying to join a few hundred files using join. Is there a way to use while read or something else to automate this. My problem is the following.
Day 1
City Temp
ABC 20
DEF 30
HIJ 15
Day 2
City Temp
ABC 22
DEF 29
KLM 5
Day 3 (3 Replies)
Discussion started by: theFinn
3 Replies
3. Shell Programming and Scripting
Hi Gurus
I have to split the incoming source file into multiple file.
File contains some unwanted XML tags also .
Files looks like
some XML tags
FILEHEADERABC 12
--
---
----
EOF
some xml tags
xxxFILEHEADERABC 13
--
---
----
EOF
I have to ignore XML tags and only split file... (6 Replies)
Discussion started by: manish2608
6 Replies
4. Shell Programming and Scripting
Is it possible to join all the files with input1 based on 1st column?
input1
a
b
c
d
e
f
input2
a
b
input3
a
e
input4
c (2 Replies)
Discussion started by: quincyjones
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have 20 tab delimited text files that have a common column (column 1). The files are named GSM1.txt through GSM20.txt. Each file has 3 columns (2 other columns in addition to the first common column).
I want to write a script to join the files by the first common column so that in the... (5 Replies)
Discussion started by: evelibertine
5 Replies
6. Shell Programming and Scripting
Hi there,
I am trying to join 24 files (i showed example of 3 files below). They all have 2 columns. The first columns is common to all. The files are tab delimited eg
file 1
rs0001 100e-34
rs0003 2.8e-01
rs008 1.9e-90
file 2
rs0001 1.98e-22
rs0004 3.77e-10... (4 Replies)
Discussion started by: fat
4 Replies
7. Shell Programming and Scripting
Please help, I want to join multiple files based on column 1, and put the missing values as 0. Also the colname in the output should say which file the values came from.
FILE1
1 11
2 12
3 13
FILE2
2 22
3 23
4 24
FILE3
1 31
3 33
4 34
FILE1 FILE2 FILE3
1 11 0 31 (1 Reply)
Discussion started by: newbie83
1 Replies
8. Shell Programming and Scripting
Dear folks
Hello
I have a one file called (file1) which the structure looks like this
1 gi|358484521|ref|NW_003764373.1|
1 gi|358484520|ref|NW_003764374.1|
1 gi|358484519|ref|NW_003764375.1|
.
.
.
30 gi|368484519|ref|NW_00449375.1|
In addition, I have around 300... (19 Replies)
Discussion started by: sajmar
19 Replies
9. Shell Programming and Scripting
Hello all,
I want to join 2 tabbed files on the first 2 fields, and filling the missing values with 0. The 3rd column in each file is constant for the entire file.
file1
12658699 ST5 XX2720 0 1 0 1
53039541 ST5 XX2720 1 0 1.5 1
file2 ... (6 Replies)
Discussion started by: sheetalk
6 Replies
10. UNIX for Beginners Questions & Answers
I have requirement to split below file (sample.csv) into multiple files by using the unique columns (first 3 are unique columns)
sample.csv
123|22|56789|ABCDEF|12AB34|2019-07-10|2019-07-10|443.3400|1|1
123|12|5679|BCDEFG|34CD56|2019-07-10|2019-07-10|896.7200|1|2... (3 Replies)
Discussion started by: RVSP
3 Replies
LEARN ABOUT HPUX
fs_wrapper
fs_wrapper(5) File Formats Manual fs_wrapper(5)
NAME
fs_wrapper - configuration and binary files used by file system administration commands
SYNOPSIS
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
FStype] ...
DESCRIPTION
The commands listed in the SYNOPSIS can operate on different types of file systems. Each command (except for reads file system specific
configuration files that control the command's behavior, and invokes a file system specific binary file to do the actual work. FStype is
the file system type as optionally specified on the command line. If FStype is not given, then the file system type is determined from by
matching an entry in this file with a device provided with the command (see individual commands for details of usage).
Administrators may also define a default file system type for the above commands via the file If this file exists, and contains the line:
(e.g., then the above commands will assume the FStype given in unless an FStype is provided on the command line or is in The default file
system specification is provided to maintain compatibility with pre-10.0 invocations of the commands.
See the FILES section for a list of the files used.
WARNINGS
The configuration files are supplied by HP or by other file system vendors. They are not meant to be edited by System Administrators.
Corruption or removal of these files may lead to strange behavior, including the inability to boot.
The format of the configuration file is subject to change.
The file system specific binary files are not normally executed directly. However, if the configuration files become unusable, direct exe-
cution of these binary files may be a useful step in repairing and running the system again. The binary files accept the same arguments as
the commands by which they are executed.
The command is a special case. This command currently does not read a configuration file, and does not execute a file system specific
binary file if FStype is or The binary that handles these FStypes also processes other FStypes and calls the file system specific command
if appropriate.
For historical reasons, the binary files also handle and so there are no separate binary files for the latter two file systems.
The commands (except will not work if they are renamed, because they are symbolically linked to a single executable
FILES
FStype is the file system type as optionally specified on the command line. command is the name of the command.
File system specific binary files for the
and commands. There may be additional file system specific binary files in this directory that are
not associated with
File system specific binary files for the remaining commands.
There may also be other file system specific binary files in this directory that are not associated
with
Configuration files for each file system type.
File in which the default file system type can be defined.
If this file does not exist, there is no default file system type.
Static information about the file systems
SEE ALSO
ff(1M), fsck(1M), fsdb(1M), mkfs(1M), mount(1M), ncheck(1M), newfs(1M), quot(1M), quotacheck(1M), volcopy(1M), fstab(4).
fs_wrapper(5)