${m} ARCH=${ARCH} >&!make_${m} 만들기

${m} ARCH=${ARCH} >&!make_${m} 만들기

이 명령에서(C 쉘 스크립트)

make ${m} ARCH=${ARCH} >&! Make_${m}

무슨 뜻이에요 >&!?

답변1

~에서매뉴얼 페이지(tcsh의 경우):

   > name
   >! name
   >& name
   >&! name
           The file name is used as standard output.  If the file does not
           exist then it is created; if the file exists, it is  truncated,
           its previous contents being lost.

           If  the shell variable noclobber is set, then the file must not
           exist or be a character  special  file  (e.g.,  a  terminal  or
           `/dev/null')  or an error results.  This helps prevent acciden‐
           tal destruction of files.  In this case the `!'  forms  can  be
           used to suppress this check.

           The  forms  involving  `&' route the diagnostic output into the
           specified file  as  well  as  the  standard  output.   name  is
           expanded in the same way as `<' input filenames are

그래서 리디렉션됩니다표준 출력그리고표준 에러지정된 파일로 이동하여 noclobber확인을 무시하십시오.

관련 정보