Loading ...
Sorry, an error occurred while loading the content.

Why does first line work second doesn't

Expand Messages
  • Billy N. Patton
    Can someone tell me why the first line will work but the secodn line will not ? amenu 50.005 &Project.&liblaff :cd /data/cdmg/dev/liblaff :args *.c *.h
    Message 1 of 2 , Jan 3, 2001
    • 0 Attachment
      Can someone tell me why the first line will work but the secodn line will
      not ?

      amenu 50.005 &Project.&liblaff :cd /data/cdmg/dev/liblaff<CR> :args *.c *.h <CR>
      amenu 50.010 &Project.Laff&Edit :cd /data/cdmg/dev/LaffEdit<CR> :args *.cpp *.h <CR>

      The first line will load up all .c files into buffer
      The second line will not load anything. The cd does work.

      =========+=========+=========+=========+=========+=========+=========+
      ___ _ ____ ___ __ __
      / _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___
      / _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
      /____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/
      /___/
      Texas Instruments ASIC Circuit Design Methology Group
      Dallas, Texas
      214-480-4455
      bpatton@...
      =========+=========+=========+=========+=========+=========+=========+
    • Devin Weaver
      ... My first guess would be that there are no *.cpp or *.h files in the LaffEdit directory. You might also find the a bit more elegant (actually I don t
      Message 2 of 2 , Jan 3, 2001
      • 0 Attachment
        On Wed, Jan 03, 2001 at 06:38:03AM -0600, Billy N. Patton wrote:
        > amenu 50.005 &Project.&liblaff :cd /data/cdmg/dev/liblaff<CR> :args *.c *.h <CR>
        > amenu 50.010 &Project.Laff&Edit :cd /data/cdmg/dev/LaffEdit<CR> :args *.cpp *.h <CR>

        My first guess would be that there are no *.cpp or *.h files in the
        LaffEdit directory.

        You might also find the <Bar> a bit more elegant (actually I don't
        think it matters).
        amenu 50.005 &Project.&liblaff :cd /data/cdmg/dev/liblaff<Bar>args *.c *.h<Cr>

        --
        He had that rare weird electricity about him -- that extremely wild and
        heavy presence that you only see in a person who has abandoned all hope
        of ever behaving "normally."
        -- Hunter S. Thompson, "Fear and Loathing '72"
      Your message has been successfully submitted and would be delivered to recipients shortly.