From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: The strange install command used by emacs. Date: Fri, 18 Dec 2020 12:57:14 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17931"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 18 05:58:12 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kq7qF-0004ZX-MO for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Dec 2020 05:58:11 +0100 Original-Received: from localhost ([::1]:50688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq7qE-0004RX-I2 for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 23:58:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq7pb-00040i-V2 for Emacs-devel@gnu.org; Thu, 17 Dec 2020 23:57:31 -0500 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:36349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq7pa-00058Y-0X for Emacs-devel@gnu.org; Thu, 17 Dec 2020 23:57:31 -0500 Original-Received: by mail-lf1-x12a.google.com with SMTP id o13so2252173lfr.3 for ; Thu, 17 Dec 2020 20:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gnI/ViycDrh+/cCM0MmW/J0RyC02mXMmf1SgkzoXybQ=; b=SWHJwplmZYpvb5BFuuQ8caUPKvEFNlxaem665bkWB3YrvJaorO/+IR8rkmYXez2ZdT bPDx84hY8PaDJNKYJHoPOxKdN688wtac0LLa6/qDQI3zfWSgBEz8o0fTvnu0mAnX4weP flEinrqynlETCrRHRfRhK2KTYQDOZ+LmuNI1KgxdIat5SyNxw6SA6eCEo1JWqwBTbzD3 NWgLMLCxh3hJqw56EhsAScPtScmaNiNN3PtHZcBc5wvcUMVt3KRpOeE1mD4fhvW1qzc1 TZWzMHcuf4aVNFJfC84wBAeEkBx9HKXv/b6UXSWefYsBlnunFeHZj474nP2+JyNdJM3y C5zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gnI/ViycDrh+/cCM0MmW/J0RyC02mXMmf1SgkzoXybQ=; b=V9d6AFvR+D/n8xBHZHeazxMCTN66OHSfWM1vZlB4nIDVrPevrF92fHOAMsPwo+zaLj aCsGV3qJcQzLIW7chgkjOTPMI5zcRNZ+vy8bwBLJozGtIPnxdsinril1i2FYG63GJnzd HUikWh1PlbqTAj+9H1kH+PHufVfc62ayTkfQnVYpp80FQ4SMs6+advWLv9LYGWUw9cy/ R3r5puN3BBhSstmZ2m3wtGXeN93AT5e+m3EgoyrnO5iZGVbTPIs2rvYpaWfCYfXL10D6 /pIhfMPV83rn0fTbrUDC47pAEp7KIWR7PPPYQsDLO0fyjfpZjvgQIEThh/TiFwIG9EBT fQXg== X-Gm-Message-State: AOAM530hwENx0Aqr1msrW/E8PhZi/TSCWOuEcstjrUI/JBfGJWkvJxDz q/iq4yhKTytUQWov222k9kqgLbQTRQc7K0kFlTp7OIk7ygbQJ43g X-Google-Smtp-Source: ABdhPJzC649Ujdjyobd4pe6OWMvjyEApDfe6fs7yjabkBj/dxLIwbd+NL0djFxPLNg34QWr4tyxAbWAREwpeeYDl86Q= X-Received: by 2002:ac2:59ce:: with SMTP id x14mr762816lfn.545.1608267445685; Thu, 17 Dec 2020 20:57:25 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261150 Archived-At: On Ubuntu 20.10, when I compile the latest git master version of emacs, I noticed the following line near to the end of installation log: cd "/usr/local/bin" && ln -s "`echo emacs-28.0.50 | sed 's,x,x,'`" "`echo emacs | sed 's,x,x,'`" Apparently, it want to do the following job: ln -s /usr/local/bin/emacs-28.0.50 /usr/local/bin/emacs The confusing thing is that the pattern feed to sed, i.e., 's,x,x,', which in fact matches nothing for this case. So why it's useless at all. Any hints/notes/explanations would be appreciated. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China