[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 03/11] CODING_STYLE(tools/ocaml): add 'make format' and remove tabs
- To: Edwin Török <edvin.torok@xxxxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Mon, 19 Dec 2022 11:52:36 +0000
- Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>
- Delivery-date: Mon, 19 Dec 2022 11:53:06 +0000
- Ironport-data: A9a23:6Qj1pqig5iLhNZfOpXA1ET+FX161bBAKZh0ujC45NGQN5FlHY01je htvWWjQbvzZZWOhfNwnbN6wp0tV7cPVmNcyGgVk+y01Riob9cadCdqndUqhZCn6wu8v7q5Ex 55HNoSfdpBcolv0/ErF3m3J9CEkvU2wbuOgTrWCYmUpH1QMpB4J0XpLg/Q+jpNjne+3CgaMv cKai8DEMRqu1iUc3lg8sspvkzsy+qWs0N8klgZmP6oS5gaPzyB94K83fsldEVOpGuG4IcbiL wrz5OnR1n/U+R4rFuSknt7TGqHdauePVeQmoiM+t5mK2nCulARrukoIHKN0hXNsoyeIh7hMJ OBl7vRcf+uL0prkw4zxWzEAe8130DYvFLXveRBTuuTLp6HKnueFL1yDwyjaMKVBktubD12i+ tQVdQE3bEqBvd7tmouXb9Axp/0aM+z0adZ3VnFIlVk1DN4jSJHHBa7L+cVZzHE7gcUm8fT2P pRDL2A1NVKZPkMJagx/5JEWxY9EglH2dSFYr1SE47I6+WHJwCR60aT3McqTcduPLSlQthfB+ z+Yoj6kav0cHM7E+SS04FSKusX0lgDeR40xDbiZ9OE/1TV/wURMUUZLBDNXu8KRlUqWS99Zb UsO9UIGoaEs+WSxQ9L6Xhn+p2SL1jYMVtwVH+Ak5QWlzqvP/x3fFmUCViRGatEtqIkxXzNC6 7OSt4q3X3o16uTTEC/DsOfPxd+vBcQLBWJfVBUGFwk/34K5ma0Wt0/ud+98NbHg27UZBgrM6 zyNqSE/gZAagsgKy7i38Dj7vt68mnTaZlVrv1uKBwpJ+is8Pdf4PNLwtTA3+N4adO6kok+9U G/ociR0xMQHFtmzmSOEW43h95n5tq/eYFUwbbOCdqTNFghBGVb5Jui8Axkkfi+F1/ronhe3C HI/QSsLuPdu0IKCNMebmb6ZBcUw1rTHHt/4TP3SZdcmSsEvK1bcrHE1OxDAjjGFfK0QfUYXY MvzTCpRJSxCVfQPIMSeHI/xLoPHNghhnDiOFPgXPjys0KaEZW79dIrpxGCmN7hjhIvd+VW9z jqqH5fSo/mpeLGkM3a/HE96BQxiEEXX8rit8pELLrHTelY3cIzjYteIqY4cl0Vet/w9vo/1E ruVACe0FHKXaaX7FDi3
- Ironport-hdrordr: A9a23:p93SJa1joXCcxow34NZddAqjBIokLtp133Aq2lEZdPRUGvb4qy mLpoV96faSskd2ZJhAo6HlBEDuex/hHPJOjrX5eI3SJTUO21HYSb2Kj7GSoAEIcheWnoU2uJ uIMZIOauEYZWIK9foSizPZLz9P+re6zJw=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, Dec 16, 2022 at 06:25:12PM +0000, Edwin Török wrote:
> + git ls-files '*.c' '*.h' | xargs -n1 sed -ie 's/\t/ /g'
Seen as there's a patch adding .clang-format, what the point of this
command?
"-ie" means to ask sed to change file in-place an keep a copy of the
original file with "e" as suffix. So please replace that by "-i~" or
"-i -e" or just "-i", with the first one create a "~" backup, the last
two not creating a backup at all and probably what you wanted. ("-e" is
optional as there's only a single command)
Thanks,
--
Anthony PERARD
|