Hello.

The question is :
Is there a size limits when passing argument to a program ( a binary program or a bash script )
I start a script from desktop.
Code:
Comment[en_US]=my install edit
Comment=my install edit
Exec=/bin/bash -c '/home/some_user/bin/200_install/some_script_1_launcher'
GenericName[en_US]=my install edit
GenericName=my install edit
Icon=apparmor_edit_profile
MimeType=
Name[en_US]=my install edit
Name=my install edit
Path=/home/some_user/bin/200_install
StartupNotify=true
Terminal=true
TerminalOptions=\s--noclose
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
This launcher script set some variables and then start the main script
/home/some_user/bin/200_install/some_script_2_main :

/home/some_user/bin/200_install/some_script_1_launcher :
Code:
MY_PATH="/home/some_user/bin/200_install"
MY_USR="/backup_sys/000_COMMON/Bin"
MY_SU_USR="/backup_sys/000_COMMON/SBin"
MY_SU_USR2="/backup_sys/000_COMMON/SBin2"
MY_ETC="/etc"
MY_SYSTEMD="/etc/systemd/system"
MY_LIB_SYSTEMD="/usr/lib/systemd/system"
#
MY_FILE1="$MY_SU_USR2/user_opensuse_create_standard_user  $MY_SU_USR2/user_opensuse_put_public_standard_user    $MY_SU_USR2/zypper_search_for_repos_from_lib_name_grep_lancher   $MY_SU_USR2/zypper_search_for_repos_from_lib_name_lancher  $MY_PATH/yast_00_1_1_A_swap_make_swap_on_file  $MY_PATH/yast_00_1_2_A_create_public_folder  $MY_PATH/yast_00_1_3_A_create_local_folder  $MY_PATH/yast_00_1_4_A_create_zypper_local  $MY_PATH/yast_00_1_5_A_rename_yast_install_repo  $MY_PATH/yast_00_1_6_A_disable_yast_debug_repo  $MY_PATH/yast_00_1_7_A_adjust_locale_LC  $MY_PATH/yast_00_1_8_A_adjust_etc_files  $MY_PATH/yast_00_1_9_A_disable_services  $MY_PATH/yast_00_0_reset_flag_install   $MY_PATH/yast_00_0_test_yast_first_pass_done  $MY_PATH/yast_00_1_my_install_edit  $MY_PATH/yast_00_1_my_install_run  $MY_PATH/yast_00_2_my_app_file  $MY_PATH/yast_00_2_my_function  $MY_PATH/yast_00_2_my_app_version  $MY_PATH/yast_01_set_initial_ALL  $MY_PATH/yast_02_set_initial_repos  $MY_PATH/yast_03e_install_ALL_libraries  $MY_PATH/yast_04c_install_basic_libraries_leap  $MY_PATH/yast_05c_install_some_files  $MY_PATH/yast_06_install_NOTEBOOK_aplication_files  $MY_PATH/yast_10_create_main_repos  $MY_PATH/yast_11_create_my_repos  $MY_PATH/yast_11a_create_my_package_repo  $MY_PATH/yast_13_list_repos_enabled  $MY_PATH/yast_14_remove_main_repos  $MY_PATH/yast_15_remove_my_repos  $MY_PATH/yast_16_activate_main_repos_only  $MY_PATH/yast_17_activate_my_repos  $MY_PATH/yast_18_deactivate_main_repos  $MY_PATH/yast_19_deactivate_my_repos   $MY_PATH/yast_20_reinstall_brother_printer  $MY_PATH/yast_21_reinstall_samsung_printer  $MY_PATH/yast_22_reinstall_epson_scanner   $MY_PATH/yast_26_more_install_software   $MY_PATH/yast_27_download_individual_file    $MY_PATH/yast_29_complementary_task   $MY_PATH/yast_30_install_systemd_files  $MY_PATH/yast_31_remove_systemd_files  $MY_PATH/yast_32_add_printers_and_scanners  $MY_PATH/yast_96_make_public_directories    $MY_PATH/yast_97_create_standard_user  $MY_PATH/yast_98_copy_my_etc_files  $MY_PATH/yast_99_copy_initial_zypper_files  $MY_PATH/yast_100_download_current_kernel  $MY_PATH/yast_101_download_new_kernel  $MY_PATH/yast_102_install_A_kernel  $MY_PATH/yast_103_install_freenx  $MY_PATH/yast_106_install_virtualbox  $MY_PATH/yast_109_install_skype  $MY_PATH/yast_150_install_mysql_mariadb  $MY_PATH/yast_151_de-install_mysql_mariadb $MY_PATH/yast_152_install_bacula  $MY_PATH/yast_153_de-install_bacula $MY_PATH/yast_154_install_postfix  $MY_PATH/yast_155_de-install_postfix  "
#
export MY_FILE1

/home/some_user/bin/200_install/some_script_2_main "$MY_FILE1"
/home/some_user/bin/200_install/some_script_2_main :
Code:
kdesu --noignorebutton -c "kate $MY_FILE "
MY_FILE1 contains 4044 characters.
There is no problem with MY_FILE1 set as this.

Now if I add a few more characters in MY_FILE1
Code:
  $MY_PATH/yast_160_reinstall_player
that does not work any more. Kate trunc the data and the last file to be edited is
Code:
yast_160_re
The full path name in kate is
Code:
/home/some_user/bin/200_install/yast_160_re
MY_FILE1 then contains 4105 characters.
There is a problem with MY_FILE1 set as this, not all of the necessary files are edited.

Any help is welcome.