systags.sh (1542) | systags.sh (1817) |
---|---|
1#! /bin/sh 2# 3# Copyright (c) 1992, 1993 4# The Regents of the University of California. All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 24 unchanged lines hidden (view full) --- 33# 34# @(#)systags.sh 8.1 (Berkeley) 6/10/93 35# 36# systags.sh - construct a system tags file using dependence relations 37# in a .depend file 38# 39# First written May 16, 1992 by Van Jacobson, Lawrence Berkeley Laboratory. 40# | 1#! /bin/sh 2# 3# Copyright (c) 1992, 1993 4# The Regents of the University of California. All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 24 unchanged lines hidden (view full) --- 33# 34# @(#)systags.sh 8.1 (Berkeley) 6/10/93 35# 36# systags.sh - construct a system tags file using dependence relations 37# in a .depend file 38# 39# First written May 16, 1992 by Van Jacobson, Lawrence Berkeley Laboratory. 40# |
41# from: $Header: systags.sh,v 1.7 92/07/12 08:18:21 torek Exp $ | 41# $Id$ |
42 43rm -f tags tags.tmp tags.cfiles tags.sfiles tags.hfiles 44MACHINE=`machine` 45sed -e "s,\./machine/,../../$MACHINE/include/,g" \ 46 -e 's,[a-z][^/ ]*/\.\./,,g' .depend | awk '{ 47 for (i = 1; i <= NF; ++i) { 48 t = substr($i, length($i) - 1) 49 if (t == ".c") --- 23 unchanged lines hidden --- | 42 43rm -f tags tags.tmp tags.cfiles tags.sfiles tags.hfiles 44MACHINE=`machine` 45sed -e "s,\./machine/,../../$MACHINE/include/,g" \ 46 -e 's,[a-z][^/ ]*/\.\./,,g' .depend | awk '{ 47 for (i = 1; i <= NF; ++i) { 48 t = substr($i, length($i) - 1) 49 if (t == ".c") --- 23 unchanged lines hidden --- |