bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: join: too many non-option agruments


From: Kevin R. Bulgrien
Subject: Re: join: too many non-option agruments
Date: Sat, 25 Mar 2006 09:27:14 -0600
User-agent: KMail/1.8.2

> Hello my name is Tari, and I am a novice on this unix. My problem bug is
> that I am also getting the message
>
> join: too many non-option agruments, when I am trying to join to files.
>
> For example:
> join -t: -a1 -j1 1 -j2 1 pnn pnum > pacetrep

The man page says that -j takes one value.  You have two values following
the -j.

       -j FIELD
              equivalent to `-1 FIELD -2 FIELD'

It appears that you want either this:

$ join -t: -a1 -1 1 -2 1 pnn pnum >pacetrep

or

$ join -t: -a1 -j 1 pnn pnum >pacetrep

When something does not work, you should carefully read the man
pages.

$ man join

Most times it is also useful to also try using --help, which also gives
the information needed to solve your problem.

$ join --help

> So every time the command is entered, I receive the error above. Any
> suggestions.
>
> Thank you,
> Tari




reply via email to

[Prev in Thread] Current Thread [Next in Thread]