---
name: "list_commons"
section: "1"
platform: "linux"
package: "forutil"
version: "0.62-4"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/list_commons"
---

# list\_commons(1)

list the contents of a f77 common database.

## NAME

list\_commons - list the contents of a f77 common database.

## SYNOPSIS

**list\_commons \[-shv\]** **-d***database* **-f***incfile* **-o***outfile*

## DESCRIPTION

**list\_commons** can be used to manually check the contents of a common database. It outputs every common it finds in a given database.  **list\_commons** examines a database generated with  [**scan\_commons**(1)](/scan_commons/1.md).

## OPTIONS

- **-h, --help**

  Shows a short description of every option.

- **-s**

  If you use this flag,  **list\_commons** will sort the contents of the database per file that has been stored in the database. If this option is not given,  **list\_commons** will just list the entire (unsorted) contents of the database. Using this  option can take a while since the entire database has to be  scanned entirely before the output can be sorted. The MS-DOS  version might run out of memory if you have a large database.

- **-v**

  Show database version information. This information consists  of the name of the user that has created this database, the  machine and system name where this database was created on,  the date of the last update of this database, and the  directories stored.

- **--version**

  Shows the version number of get\_common.

- **-d***database*

  Name of the database to list. If no database is given, the  value of  **COMMON\_DATABASE** is checked.

- **-f***incfile*

  This is the same as the -s option, with the main difference being that only the commons for  *incfile* will be shown.

- **-o***outfile*

  Using this option will cause **list\_commons** to store its output in the file *outfile.* If not given,  **list\_commons** will write it's output to stdout.

## COMPATIBILITY

**list\_commons** has run under HP-UX 9 and 10, SGI IRIX 5.2 & 5.3, DEC OSF1,  SunOs 4.1 and 4.3, Cray Unicos, IBM AIX 3.2 & 4.1, Linux and MSDOS 6.2.  **list\_commons** also runs in a dos box under Windows 3.1, 3.11 and Win95.

## ENVIRONMENT

- **COMMON\_DATABASE**

  Points to the location of a common database. This environment variable is only used if no database is given on the command line.

## DISTRIBUTION POLICY

All utilities in this fortran utility suite are distributed under the GNU Public License.

## BUGS

If a bug occurs, it will most likely be generated by the MS-DOS versions of these tools. This will be mainly due to the 640kb  memory limit MS-DOS has.

If you think you have found a bug, you can send email to the author, describing what the bug is, how you generated it and if you can reproduce it. Also specify the platform where this bug occured.

## AUTHOR

Koen D'Hondt

ripley@xs4all.nl

(C)Copyright 1995-1996 by Ripley Software Development

## SEE ALSO

[**scan\_commons**(1)](/scan_commons/1.md), [**get\_common**(1)](/get_common/1.md), [**fflow**(1)](/fflow/1.md), [**ffscan**(1)](/ffscan/1.md), [**ftags**(1)](/ftags/1.md)
