(create index using this command)
$ crindex $(ls * | fgrep -v . ) > @index.txt
(incorporate the above list into sclist.html and then create sclist2.html
as follows)
$ sed -e 's%\([0-9][0-9] \)\([a-z,0-9,_]*\)\(</tt>$\)%\1<a
href="./scripts/\2" target="_blank">\2</a>%' \
-e 's%\(^<p><tt>\)\([a-z,0-9][a-z,0-9,_]*\)\([ ,(\ )]\)%\1<a
href="./scripts/\2" target="_blank">\2</a>\3%' \
scrlist.html > scrlist2.html
Nov 1 2006 a4lsps
Nov 1 2006 a4ps Nov 1 2006 a4ps2pdf Jul 29 2007 alltitles Nov 1 2006 antigrep Nov 1 2006 badchars Nov 1 2006 baddrug Nov 1 2006 badinc Nov 1 2006 badlines Nov 1 2006 badprognames Mar 4 2007 badprot Nov 1 2006 badtitlesprogs Nov 1 2006 biglis Nov 1 2006 bigps Jul 15 2007 bigxlis Jul 15 2007 bigxps Nov 1 2006 catp Mar 2 2007 checktitles Mar 2 2007 checktitles_win Feb 11 2007 clash Feb 11 2007 clash_win Jan 15 2007 cmprc Nov 1 2006 colonend Nov 1 2006 compdirs Nov 1 2006 compfl Feb 7 2007 contents Feb 11 2007 contents_win Feb 7 2007 contentsl Feb 11 2007 contentsl_win Feb 11 2007 crindex Feb 11 2007 crindex_win Jun 25 2007 crprottmpl Jul 20 2007 crtitlesds Jul 20 2007 crtitlesds_win Jul 20 2007 crtitlestmpl Nov 1 2006 dashes Nov 24 2006 ddiff Nov 1 2006 derorder Nov 1 2006 derprogs Nov 1 2006 digits2x Feb 18 2007 dirtree Nov 1 2006 donefiles Feb 23 2007 donepages Nov 1 2006 donesectchk Nov 1 2006 emailaddr Nov 1 2006 emailme Nov 1 2006 fext Nov 1 2006 filesize Feb 11 2007 fsv Feb 11 2007 fsvacct Feb 11 2007 fsvdc Nov 1 2006 fsvraw Nov 1 2006 fullrunsuite Mar 4 2007 getfields Nov 1 2006 gethome Nov 1 2006 getitles Nov 1 2006 getitles_sas Mar 2 2007 getlayout Mar 2 2007 getlayout_win Feb 23 2007 getlsps Feb 18 2007 getname Nov 1 2006 grename Nov 1 2006 greplace Mar 4 2007 hdr Nov 1 2006 hexchars Feb 20 2007 hexcnt Nov 1 2006 idiff Mar 2 2007 intitlabels Mar 2 2007 intitlabels_win Mar 2 2007 intitlesds Mar 2 2007 intitlesds_win Jul 19 2007 intitlis Jul 19 2007 intitlis_win Feb 11 2007 intnolis Nov 1 2006 intnop Nov 1 2006 justhdr Feb 21 2007 layout2lsps Feb 20 2007 linesize Feb 20 2007 linesize_win Mar 11 2007 lis Nov 1 2006 lis2owner Mar 2 2007 lis2ps Jul 20 2007 lisremap Jul 21 2007 lisremap_win Nov 1 2006 listempty Mar 4 2007 lmhdr Mar 11 2007 log Mar 11 2007 lst Nov 1 2006 macrocalls Jul 19 2007 makemyrun Jul 19 2007 makerun Jul 19 2007 makexrun Feb 18 2007 mhdr Feb 20 2007 misscnt Feb 20 2007 misscnt_win Feb 20 2007 missvars Feb 20 2007 missvars_win Nov 1 2006 multilinks Nov 1 2006 mybaddrug Nov 1 2006 mybadinc Nov 1 2006 mybadprognames Mar 4 2007 mybadprot Nov 1 2006 mybadtitlesprogs Mar 11 2007 myderchk Nov 1 2006 mydonefiles Nov 1 2006 myfiles Nov 1 2006 mynewlis Nov 1 2006 mynewprogs Nov 1 2006 mynewtitles Nov 1 2006 myop Nov 1 2006 myorphans Nov 1 2006 myps Mar 11 2007 myrepchk Nov 1 2006 newix Feb 11 2007 nobs Feb 11 2007 nobs_win Nov 1 2006 nofile Nov 1 2006 nofootline Nov 1 2006 not664 Nov 1 2006 numtest Mar 4 2007 ohdr Mar 11 2007 olis Mar 11 2007 opgm Nov 1 2006 oplist Nov 1 2006 oporder Nov 1 2006 opsortkey Nov 1 2006 orphans Mar 11 2007 otitles Nov 1 2006 owner Nov 1 2006 pages May 16 2007 pagexofy Feb 13 2006 pathscr Mar 11 2007 pgm Jul 22 2007 prefix Feb 11 2007 printall Feb 11 2007 printall_win Nov 1 2006 printpdfbookmarks Nov 1 2006 pstolp Jun 12 08:29 quotelst Nov 1 2006 reflist2lis Nov 1 2006 reflist2progs Nov 1 2006 rem Nov 1 2006 rescue Nov 1 2006 rescuedonelist Nov 1 2006 ruler Nov 1 2006 runproblems Feb 17 2007 sasb Jan 13 2008 sasu Nov 1 2006 sasunixskeleton Feb 17 2007 scanlogs Nov 1 2006 shdr Feb 22 2007 showfmt Feb 22 2007 showfmt_win Feb 20 2007 showfmts Feb 22 2007 showfmts_win Feb 11 2007 showlfmt Feb 11 2007 showlfmt_win Feb 11 2007 showlfmts Feb 11 2007 showlfmts_win Mar 15 2007 showme Mar 7 2007 showprot Mar 7 2007 showprot_win Jul 19 2007 showtitles Jul 19 2007 showtitles_win Nov 1 2006 slinks Nov 1 2006 sohdr Nov 1 2006 sortnpref Nov 1 2006 splitbiglst Nov 1 2006 suffix Feb 7 2007 summary Feb 11 2007 summary_win Feb 27 2007 testemail Nov 1 2006 timestamp Mar 11 2007 titles Nov 1 2006 titlesvsbkmarks Nov 1 2006 toclis Nov 1 2006 toupper Feb 20 2007 userfmts Feb 20 2007 userfmts_win Nov 1 2006 uslsps Nov 1 2006 usps Nov 1 2006 usps2pdf Nov 1 2006 vop Nov 1 2006 vtitles Nov 1 2006 whosgot Nov 1 2006 wt |
Index of members in this directory with standard headers
======================================================== (this list was generated by the crindex script) a4lsps
- Calculate and display linesize and pagesize values for different
Usage: a4lsps -l 1.0 -r 1.0 -t 1.0 -b 1.0 a4ps
- For paged adhoc reports that are not part of the reporting
Usage: a4ps file.lst > file.ps
a4ps2pdf - To convert an A4 postscript file to a pdf
Usage: a4ps2pdf file.ps file.pdf
alltitles
- Script to collect all the valid .titles files together and put
Usage: alltitles antigrep - To list all files that DO NOT contain a specified string
Usage: antigrep 'FG_21_08' *.sas
badchars - Show bad characters (not clean 7 bit) in the input stream
Usage: badlines file.ext | badchars
baddrug
- To list which SAS programs do not have a correct drug name
Usage: baddrug
badinc
- To list which SAS programs do not have a correct increment
Usage: badinc
badlines
- Production script to find lines in a text file containing bad
Usage: badlines file.ext
badprognames - To list which
SAS programs do not have a correct program name
Usage: badprognames
badprot
- To list which SAS programs do not have a correct protocol
Usage: badprot
badtitlesprogs - To list which titles members do not have a matching program name
Usage: badtitlesprogs
biglis
- To produce a collection of all the .lis files in donelist.txt in
Usage: biglis > big.lis
bigps
- Production script to convert *.lis* files listed in donelist.txt
Usage: bigps > big.ps
bigxlis
- To produce a collection of all the .lis files in xdonelist.txt
Usage: bigxlis > xbig.lis
bigxps
- Production script to convert *.lis* files listed in xdonelist.txt
Usage: bigxps > bigx.ps
catp
- To "cat" files and add page throws to the start of all but the
Usage: catp *.lst > all.lis
checktitles - Production
script to check the titles in the titles dataset
Usage: checktitles checktitles_win - Production script to check the
titles in the titles dataset
Usage: checktitles_win clash
- To identify mismatches in variable properties between datasets
Usage: clash
clash_win
- To identify mismatches in variable properties between datasets
Usage: clash_win
cmprc - To run "cmp" and echo the return code
Usage: cmprc file1 file2
colonend - To show lines that end with a colon
Usage: colonend *.sas
compdirs - To compare the contents of two directories
Usage: compdirs . /there
compfl - To compare two floating point numbers
Usage: compfl 1.2 3.4
contents
- To list the contents (in short form) of one or more SAS datasets
Usage: contents adv
contents_win - To list the contents
(in short form) of one or more SAS datasets
Usage: contents_win adv
contentsl
- To list the contents (in long form) of one or more SAS datasets
Usage: contentsl adv
contentsl_win - To list the contents
(in long form) of one or more SAS datasets
Usage: contentsl_win adv
crindex
- To create an index of macros or scripts with standard headers
Usage: crindex * > @index.txt
crindex_win - To create
an index of macros or scripts with standard headers
Usage: crindex_win * > @index.txt
crprottmpl - Production
script to create file "protocol.template" in the study
Usage: crprottmpl crtitlesds - Production
script to create the titles dataset from the
Usage: crtitlesds crtitlesds_win - Production script to create
the titles dataset from the
Usage: crtitlesds_win crtitlestmpl - Production script
to create file "titles.template" in the study
Usage: crtitlestmpl dashes - To list files that have spanning dashed lines in them
Usage: dashes *.lis
ddiff
- Production script to compare identically named files with those
Usage: ddiff -i "^OUTPUT" *.LST > differ.txt
derorder
- Production script to list the programs that build the derived
Usage: derorder derprogs - To list all valid derived dataset build programs
Usage: derprogs s_myprog.sas d_myprog2.sas
digits2x
- To change numeric values in a report to "x"s to make it
Usage: digits2x report.lis > template.txt
dirtree
- Display the directory tree structure downwards from the current
Usage: dirtree
donefiles - Production script to list out the files in donelist.txt
Usage: donefiles
donepages
- Production script to read in a donelist file and output with the
Usage: donepages donelist.tmp > donepages.txt donesectchk - To check
that the donelist section files have all the entries in
Usage: donesectchk emailaddr - Production script to create an email address out of a Unix userid
Usage: emailaddr userid
emailme - To email a user the requested files
Usage: emailme t_xxx.lis
fext - list all unique file extensions in the current directory
Usage: fext
filesize - Production script to show file size
Usage: filesize file.ext
fsv
- To launch fsview to browse a SAS dataset in the current directory
Usage: fsv demog
fsvacct
- To launch fsview to browse a SAS dataset in the current directory
Usage: fsvacct adv patno begindt ldosedt
fsvdc
- To launch fsview to browse a SAS dataset in the current directory
Usage: fsvdc demog
fsvraw
- To launch fsview to browse a SAS dataset in the current directory
Usage: fsvraw demog
fullrunsuite - Production script
to run "runsuite" and save the standard and
Usage: fullrunsuite getfields
- To display the client, office, drug, study and increment from
Usage: getfields
gethome
- Production script to return the home directroy of a user, given
Usage: gethome
getitles - Production script to extract the titles from an output listing
Usage: getitles file.ext
getitles_sas - To extract the titles from an output listing (use SAS)
Usage: getitles_sas filename.ext
getlayout
- Production script to get layout details for a .lis output
Usage: getlayout filename.lis
getlayout_win - Production script
to get layout details for a .lis output
Usage: getlayout_win filename.lis
getlsps
- To determine the line size, page size and number of pages of an
Usage: getlsps file.ext
getname - Production script to return the name of a user, given a userid
Usage: getname
grename
- To do a bulk rename of files replacing one name part with another
Usage: grename adult adu *.sas
greplace
- To replace a string with another string in the files listed
Usage: greplace "this string" "that string" *.sas
hdr - To create a standard SAS program header
Usage: hdr
hexchars - To display hex characters in a text file (uses SAS)
Usage: hexchars file.ext
hexcnt
- Display character variables with their number of observations
Usage: hexcnt ds1 ds2
idiff - To compare files with "diff" but saying which lines to ignore
Usage: idiff -i "^OUTPUT" file1.ext file2.ext > differ.txt
intitlabels - Production
script to list all the programs in the titles dataset
Usage: intitlabels
intitlabels_win - Production script to list all
the programs in the titles dataset
Usage: intitlabels_win
intitlesds - Production
script to list all the programs in the titles dataset
Usage: intitlesds
intitlesds_win - Production script to list
all the programs in the titles dataset
Usage: intitlesds_win
intitlis
- Production script to list all the programs in the titles dataset
Usage: intitlis
intitlis_win - Production script
to list all the programs in the titles dataset
Usage: intitlis_win
intnolis
- Production script to list outputs in the titles file with no
Usage: intnolis intnop
- Production script to list programs in the titles file with no
Usage: intnop justhdr - To select just the header of a sas program or script
Usage: justhdr filename
layout2lsps - Production
script to calculate sas linesize and pagesize values
Usage: layout2lsps -l 1.0 -r 1.0 -t 1.0 -b 1.0 -p A4 -f LC12 linesize
- To show the linesize for a sas program in the titles dataset
Usage: linesize progname
linesize_win - To show the linesize
for a sas program in the titles dataset
Usage: linesize_win progname
lis
- To view the .lis output file of the program defined to the
Usage: lis lis2owner
- To search .lis files for a given literal string (in any case)
Usage: lis2owner "literal string"
lis2ps
- Production script to convert a .lis file to postscript and
Usage: lis2ps filename.lis > filename.ps
lisremap
- Production script to list all the outputs file names that have
Usage: lisremap
lisremap_win - Production script
to list all the outputs file names that have
Usage: lisremap_win
listempty - To list "empty" files
Usage: listempty *.lis
lmhdr - To create a standard SAS macro header for a local macro
Usage: lmhdr
log
- View the .log file of the program defined to the exported
Usage: log lst
- To view the .lst output file of the program defined to the
Usage: lst macrocalls - To
extract a list of macros called in a SAS log (assuming MLOGIC
Usage: macrocalls progname.log
makemyrun
- Create scripts named "runder$USER" and "runrep$USER" for running
Usage: makemyrun makerun
- Production script to create scripts named "runderived",
Usage: makerun makexrun
- Script to create script named "runxreports" used for running all
Usage: makexrun mhdr - To create a standard SAS macro header
Usage: mhdr
misscnt
- Display a count of variables and their number of missing
Usage: misscnt ds1 ds2
misscnt_win - Display
a count of variables and their number of missing
Usage: misscnt_win ds1 ds2
missvars - List all-missing variables (uses SAS)
Usage: missvars ds1 ds2
missvars_win - List all-missing variables (uses SAS)
Usage: missvars_win ds1 ds2
multilinks - To create individual links to members of a directory
Usage: multilinks /xxx/dir
mybaddrug
- To list which of your own SAS programs do not have a correct
Usage: mybaddrug
mybadinc
- To list which of your own SAS programs do not have a correct
Usage: mybadinc
mybadprognames - To list which of your own
SAS programs do not have a correct
Usage: mybadprognames
mybadprot
- To list which of your own SAS programs do not have a correct
Usage: mybadprot
mybadtitlesprogs - To list which of your own titles
members do not have a matching
Usage: badtitlesprogs
myderchk
- Scans runderived.chk to show you details that belong to your
Usage: myderchk
mydonefiles - To list out the files in the donelist belonging to a person
Usage: mydonefiles
myfiles - To print out a list of user-owned files
Usage: myfiles
mynewlis
- To list all user-owned .lis files created since the last
Usage: mynewlis
mynewprogs - To
list all user-owned .sas files created or updated
Usage: mynewprogs
mynewtitles - To list
all user-owned .titles files created or updated
Usage: mynewtitles
myop - To list output files owned by the user in table reference order
Usage: myop t*.lis
myorphans - List user's files with no entry in the titles dataset
Usage: myorphans
myps - List all processes for the invoking user or another user
Usage: myps
myrepchk
- Scans runreports.chk to show you details that belong to your
Usage: myrepchk
newix - To run "crindex" to create a new index named @index.txt
Usage: newix
nobs - To display the number of observations a dataset has (uses SAS)
Usage: nobs # acts on all datasets
in current library
nobs_win - To display the number of observations a dataset has (uses SAS)
Usage: nobs_win # acts on all datasets
in current library
nofile - Production script to echo a file name if it does not exist Usage: cat filelist | nofile nofootline - To detect output files with no solid footnote line
Usage: nofootline la_*.lis
not664
- List all files in the current directory that do not have 664
Usage: not664
numtest - Test a string for being an valid integer or decimal number Usage: numtest 12a3.45 ; echo $? ohdr - To create an old-style standard SAS program header
Usage: ohdr
olis
- To view the original .lis output file of the program being
Usage: olis opgm
- To view the original .sas file of the program being validated
Usage: opgm oplist (o/p list) - To create a list of tables/appendices and the output file names
Usage: oplist *.LST
oporder - To put a list of outputs in table reference order
Usage: oporder *.lis
opsortkey
- To create an output sort key from the table/appendix reference
Usage: sortkey=$(echo 7.12 | opsortkey)
orphans - List files with no entry in the titles dataset
Usage: orphans
otitles
- To view the original .titles file of the program being validated
Usage: otitles owner - To display the owner of a file followed by the file name
Usage: owner s*.sas
pages - Production script to print pages of a given range
Usage: pages -b 2 -e 5 filename
pagexofy - Add "Page x of Y" labels to a file Usage: pagexofy infile > outfile pathscr
- List all files with no file extension defined to the PATH system
Usage: pathscr pgm - To edit the program defined to the exported variable "prog". Usage: pgm prefix - To prefix a list of items with a given string Usage: ls -1 x_*.sas | prefix 'sasb ' printall
- To print all observations in datasets in the current directory
Usage: printall patno="1234"
printall_win - To print all
observations in datasets in the current directory
Usage: printall_win patno="1234"
printpdfbookmarks - To list all the PDF bookmarks in a pdf file
Usage: printpdfbookmarks BIG2.pdf
pstolp - Production script to convert a postscript document to plain text
Usage: pstolp big.ps > big.txt
quotelst - To put all arguments in double quotes Usage: quotelst C:\mylib\* reflist2lis - To turn
a list of table/appendix reference numbers into their
Usage: reflist2lis reflist.txt
reflist2progs - To turn a list of
table/appendix reference numbers into their sas
Usage: reflist2progs reflist.txt
rem
- Production script to delete files but only if they have group
Usage: rem *.sas7bdat rescue - To get back the source code of SAS programs from their logs
Usage: rescue myprog
rescuedonelist - To rescue a deleted donelist.txt file
Usage: rescuedonelist filelist.txt
ruler - To echo a line with markers at 10 column intervals
Usage: ruler
runproblems - Production script to check error files for run problems
Usage: runproblems runreports.err
sasb
- Production script to run sas in batch and give a completion
Usage: sasb progname
sasu
- Production script to run sas in batch and give a completion
Usage: sasu progname
sasunixskeleton - To create a skeleton Unix shell script that runs SAS
Usage: sasunixskeleton
scanlogs
- Production script to scan SAS logs for errors, warnings and other
Usage: scanlogs *.log
shdr - To create a standard shell script header
Usage: shdr
showfmt
- To display the contents of a format that would be made available
Usage: showfmt age
showfmt_win - To display
the contents of a format that would be made available
Usage: showfmt_win age
showfmts
- To display a list of all stored formats that would be available
Usage: showfmts
showfmts_win - To display a
list of all stored formats that would be available
Usage: showfmts_win
showlfmt
- To display the contents of a format stored in the current
Usage: showlfmt age
showlfmt_win - To display the
contents of a format stored in the current
Usage: showlfmt_win age
showlfmts
- To display a list of formats stored in the current directory
Usage: showlfmts
showlfmts_win - To display a list
of formats stored in the current directory
Usage: showlfmts_win
showme
- To display the header of a sas macro or script or display the
Usage: showme titles.sas
showprot - To list the contents of the protocol dataset (uses SAS) Usage: showprot showprot_win - To list the contents of the protocol dataset (uses SAS) Usage: showprot_win showtitles - To
list the titles for a program(s) in the titles dataset
Usage: showtitles progname
showtitles_win - To list the titles for
a program(s) in the titles dataset
Usage: showtitles_win progname
slinks - To list all symbolic links in the current directory and downwards Usage: slinks sohdr - To create a standard shell script (with options) header
Usage: sohdr scriptname
sortnpref
- Production script to sort a list using a numeric prefix as the
Usage: ls *[0-9]_*.sas | sortnpref splitbiglst - Production script to split a big .lst file into separate files
Usage: splitbiglst t_output.lis
suffix - To suffix a list of items with a given string Usage: xxxxx | suffix '.sas' summary
- To run "proc summary" on a dataset and display the output data
Usage: summary sex acct
summary_win - To run "proc
summary" on a dataset and display the output data
Usage: summary_win sex acct
testemail - To test the script email method to see if it can send you an email
Usage: testemail
timestamp
- To create a file in the home directory so it can be used as a
Usage: timestamp
titles
- To create the titles file defined to "prog" and to edit it if a
Usage: titles titlesvsbkmarks - Production script to display
table/appendix reference numbers in
Usage: titlesvsbkmarks ONE.pdf TWO.pdf
toclis
- Production script to create a "table of contents" for all the
Usage: toclis > toc.txt
toupper - Production script to convert lower case to upper case Usage: toupper string userfmts - To list variables with a user format assigned (uses SAS)
Usage: userfmts adv
userfmts_win - To list variables with a user format assigned (uses SAS)
Usage: userfmts_win adv
uslsps
- Calculate and display linesize and pagesize values for different
Usage: uslsps -l 1.0 -r 1.0 -t 1.0 -b 1.0 usps
- For paged adhoc reports that are not part of the reporting
Usage: usps file.lst > file.ps
usps2pdf - To convert a US Letter postscript file to a pdf
Usage: usps2pdf file.ps file.pdf
vop (view o/p) - To view output with the supplied table/appendix reference
Usage: vop 13.7.2.1
vtitles
- Production script to make sure .titles members have a correctly
Usage: vtitles whosgot - To list users who have locks on files
Usage: whosgot demog.sas7bdat
wt - To find which .titles member has a reference number Usage: wt 13.2.3.4 |