From: MARG <lists@tuxdoit.com>
To: linux-admin@vger.kernel.org
Subject: Inserting text in a specific file in a specific point
Date: Tue, 13 Dec 2005 20:53:54 +0000 [thread overview]
Message-ID: <439F34E2.3050004@tuxdoit.com> (raw)
Hi,
My .bash_profile is:
----------------------
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
----------------------------
What i'd like to do is from the command prompt or a bash script, insert
text after the line "PATH=$PATH:$HOME/bin".
I've searched the web and tried a few tricks, but one worked :(
Could you help me please ?
Wam Regards,
MARG
next reply other threads:[~2005-12-13 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 20:53 MARG [this message]
2005-12-13 21:25 ` Inserting text in a specific file in a specific point darren kirby
2005-12-13 22:20 ` MARG
2005-12-13 23:17 ` darren kirby
2005-12-13 21:40 ` Scott Taylor
2005-12-13 23:17 ` Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=439F34E2.3050004@tuxdoit.com \
--to=lists@tuxdoit.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.