Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Inserting a string at the end of a
Name: lamos Date: April 30, 2004 at 07:09:16 Pacific OS: Solaris 8 CPU/Ram: 1GB
Comment:
Hi folks,
Using sed and/or awk, how would I insert a text string (from a korn script) after a string that's at the end of a file.
I'm having trouble creating a newline and inserting the text string after the line in a shell script.
Summary: Hi, I need to insert today's date (dd-mm-yyyy) at the end of each and every line in a text file. I nees #!/bin/sh. My file as follows. ------------------------- one , three , ten , five twelve , ten ...
Summary: I want to get rid of the "," at the end of variable, and then make a directory using the varable name. For example, if the varaible = "Harry," I want to make a directory Harry I have tried: mkdir $va...
Summary: hi all I need some help and i hope someone can help me.. In /etc/group file I need to append usernames at the end of a group record so that these users will also belong to that group. that is in /etc...