Now your concern is truly appreciated.
"Find in File" in "Visual Studio Code" reveals duplications in 24 files in 13 directories (please find the results appended below)
It is amazing that SageMath is still maintainable up to now, release 9.6
Maybe 'resolvelinks' is just the tip of an iceberg (something more important is missing?)
Best wishes,
phiho
# Query: resolvelinks()
# ContextLines: 1
24 results - 24 files
sage/sage:
32 # meantime however the two should be kept synchronized.
33: resolvelinks() {
34 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagelib/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagelib/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagemath_categories/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagemath_categories/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagemath_objects/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/build/pkgs/sagemath_objects/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sage-conf_pypi/sage_root/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-categories/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-categories/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-objects/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-objects/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-standard/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/pkgs/sagemath-standard/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
sage/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
sage/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
# Query: resolvelinks # ContextLines: 1
36 results - 24 files
sage/sage:
110 # resolved
111: SAGE_ROOT=`resolvelinks "$0"` || \
112 SAGE_ROOT="$0"
sage/build/pkgs/sagelib/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagelib/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/build/pkgs/sagemath_categories/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagemath_categories/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/build/pkgs/sagemath_objects/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagemath_objects/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-categories/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-categories/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-objects/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-objects/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-standard/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-standard/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/src/bin/sage:
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/src/bin/sage-env:
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
(resolvelinks()
and resolvelinks combined)
# Query: resolvelinks
# ContextLines: 1
60 results - 24 files
sage/sage:
32 # meantime however the two should be kept synchronized.
33: resolvelinks() {
34 # $in is what still needs to be converted (normally has no starting slash)
110 # resolved
111: SAGE_ROOT=`resolvelinks "$0"` || \
112 SAGE_ROOT="$0"
sage/build/pkgs/sagelib/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagelib/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/build/pkgs/sagemath_categories/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagemath_categories/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/build/pkgs/sagemath_objects/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/build/pkgs/sagemath_objects/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagelib/src/build/scripts-3.10/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_categories/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sage-conf_pypi/sage_root/build/pkgs/sagemath_objects/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sage-conf_pypi/sage_root/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-categories/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-categories/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-objects/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-objects/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/pkgs/sagemath-standard/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/pkgs/sagemath-standard/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632
sage/src/bin/sage:
4 # the top-level "sage" script. Please keep them synchronized.
5: resolvelinks() {
6 # $in is what still needs to be converted (normally has no starting slash)
80 # a symlink (Trac #30888).
81: SELF=$(resolvelinks "${0}")
82
sage/src/bin/sage-env:
35 #
36: resolvelinks() {
37 # $in is what still needs to be converted (normally has no starting slash)
338 # non-existing directory.
339: DOT_SAGE=`resolvelinks "$HOME/.sage"`
340
630 # The activate script needs to be sourced using its actual path.
631: nodeenv_activate=`resolvelinks "$nodeenv_activate"`
632