Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: SCHE Next: SF Index

SEE

Lists the text in an LW file.


Format

SEE file nchars [keywords]


Parameters

file

name of the LW file to list

nchars

number of characters per line (default=80)


Keywords

BEGin=

first line number to list; if negative, the number of the first byte to list (default=0)

LASt=

number of lines from the end of the file to list

NLInes=

number of lines to list (default=500)

 

ALL

lists all lines

STEp=

number of lines skipped between the lines listed; if negative, it steps backwards; this keyword only works on 80-character ASCII LW files (default=1)


Remarks

Command SEE attempts to list both LW files (80-character records with no linefeeds) and text files (up to 80 characters with imbedded linefeeds). However, the keywords may not work properly with text files.

You can use the ADDE command READ in place of SEE.

Examples

SEE LOGON

This entry lists file LOGON starting at line zero (the beginning) stepping forward one line until it reaches the end of the file.

SEE MYFILE BEGIN=25

This entry lists the text in LW file MYFILE beginning with line 25.

SEE SCHEMA BEGIN=99 NLINES=15 STEP=-1

This entry lists file SCHEMA starting at line 99, stepping backwards by one line for 15 lines.


Table of contents Previous: SCHE Next: SF Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690