yaz-marcdump(1) -i marc -o marc -f utf-8 -t marc8 -l 9=20 filenametoconvert.mrc > c
MARC record dump utility
-i format
    Specifies input format. Must be one of marcxml, marc (ISO2709), marcxchange (ISO25577), line (line
    mode MARC), or turbomarc (Turbo MARC).
-o format
    Specifies output format. Must be one of marcxml, marc (ISO2709), marcxchange (ISO25577), line (line
    mode MARC), or turbomarc (Turbo MARC).
-f from
    Specify the character set from of the input MARC record. Should be used in conjunction with option
    -t. Refer to the yaz-iconv man page for supported character sets.
-t to
    Specify the character set of of the output. Should be used in conjunction with option -f. Refer to
    the yaz-iconv man page for supported character sets.
-l leaderspec
    Specify a simple modification string for MARC leader. The leaderspec is a list of pos=value pairs,
    where pos is an integer offset (0 - 23) for leader. Value is either a quoted string or an integer
    (character value in decimal). Pairs are comma separated. For example, to set leader at offset 9 to a,
    use 9=a.
Before a command is executed, its input and output may be redirected using a special notation interpreted
by  the  shell.   Redirection  may  also  be used to open and close files for the current shell execution
environment.  The following redirection operators may precede or appear anywhere within a simple  command
or may follow a command.  Redirections are processed in the order they appear, from left to right.

Redirecting Output
    Redirection of output causes the file whose name results from the expansion of  word  to  be  opened  for
    writing  on  file descriptor n, or the standard output (file descriptor 1) if n is not specified.  If the
    file does not exist it is created; if it does exist it is truncated to zero size.

    The general format for redirecting output is:

           [n]>word

    If the redirection operator is >, and the noclobber option to the  set  builtin  has  been  enabled,  the
    redirection  will  fail if the file whose name results from the expansion of word exists and is a regular
    file.  If the redirection operator is >|, or the redirection operator is > and the  noclobber  option  to
    the  set  builtin  command  is  not  enabled, the redirection is attempted even if the file named by word
    exists.
source manpages: yaz-marcdump