Sed an empty line and two new ones before string

view full story

http://ubuntuforums.org – Hey, What I'd like to do is to make the ending in the Google Earth script look like so (preferably by adding the bolded lines before the string 'googleearth-bin'): Code: [...] cd $script_path; # Fix coordinates for non-US locales export LC_NUMERIC=en_US.UTF-8 LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@" Thanks. (Hardware)