1#!/bin/bash 2# 3# Copyright 2017, Data61 4# Commonwealth Scientific and Industrial Research Organisation (CSIRO) 5# ABN 41 687 119 230. 6# 7# This software may be distributed and modified according to the terms of 8# the BSD 2-Clause license. Note that NO WARRANTY is provided. 9# See "LICENSE_BSD2.txt" for details. 10# 11# @TAG(DATA61_BSD) 12# 13 14# 15# Concatinate files together, adding in appropriate "#line" directives. 16# 17 18while [ $# -ge 1 ]; do 19 echo "#line 1 \"$1\"" 20 cat "$1" 21 shift 22done 23 24