fldmap man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]


fldmap(1)(TDH)							fldmap(1)(TDH)

NAME
       fldmap(1) - map fields by name from one file to another

SYNOPSIS
       fldmap  [-H] sourcefile	destfile

DESCRIPTION
       sourcefile  and	destfile  are  two tabular ascii files with field name
       headers.	 This utility will write the contents of sourcefile, reformat‐
       ted  to	the  field  format  of destfile, to stdout.  This remapping is
       based on field names.  Both files must have a  field name header.

       A warning will be issued for any field found in sourcefile that is  not
       in  destfile, and such fields will not be present in the result.	 Dest‐
       file fields not present in sourcefile will be filled in as nulls (the =
       character  by  default but can be set to another symbol in  your config
       file ).

OPTION
       -H

	      Include destfile's field name header in the output.

EXAMPLE
       Suppose file1 looks like this:
       id balance
       001 4504
       002 9403
       and file2 looks like this:
       id lastname firstname balance
       101 Smith George 58300
       103 Jones Jeff 4792
       If we issue the command: fldmap file1 file2 we will get	the  following
       on standard output:
       001 = = 4504
       002 = = 9403
       If we had used -H we would have gotten:
       id lastname firstname balance
       001 = = 4504
       002 = = 9403

			 19-SEP-2003   TDH scg@jax.org		fldmap(1)(TDH)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net