baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
Re: [BL] bash help; changing case of file names, hyperlinks
- From: sindi keesan <keesan AT sdf.lonestar.org>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] bash help; changing case of file names, hyperlinks
- Date: Sun, 25 Feb 2007 05:00:15 +0000 (UTC)
On Sun, 25 Feb 2007 3aoo-cvfd AT dea.spamcon.org wrote:
sindi keesan wrote:
I was told to use $USER as the replacement login in \
.procmailrc. It is already defined for each user.
$USER is automatically defined in BL3 too. So is $HOME.
Cheers,
Steven
It works.
ls /$USER lists the contents of /root
cd $HOME takes me to /root
But I can't get sed to actually substitute strings.
I made a testfile containing hello.
cat testfile | sed -eq "/hello/bye/" > testfile2
I get the same file copied, with hello not bye.
I tried with and without -e and " "
cat testfile | sed /hello/goodbye/ > testfile3
sed: Unsupported command o
I get an empty file.
cat testfile | sed /hello/gbye > testfile4
sed: Can't find label for jump to `ye'
Where did I go wrong?
Sindi
-
[BL] bash help; changing case of file names, hyperlinks,
James Miller, 02/23/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/23/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/23/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/24/2007
- Re: [BL] bash help; changing case of file names, hyperlinks, sindi keesan, 02/25/2007
- [BL] USING SED TO SUBSTITUTE: was Re: bash help; changing case of file names, hyperlinks, sindi keesan, 02/25/2007
- Re: [BL] USING SED TO SUBSTITUTE: was Re: bash help; changing case of file names, hyperlinks, Lee Forrest, 02/25/2007
- Re: [BL] bash help; changing case of file names, hyperlinks, 3aoo-cvfd, 02/25/2007
- Re: [BL] bash help; changing case of file names, hyperlinks, sindi keesan, 02/25/2007
- Re: [BL] bash help; changing case of file names, hyperlinks, Karolis Lyvens, 02/25/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
3aoo-cvfd, 02/23/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/23/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
Karolis Lyvens, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
- [BL] Scripts Using Sed (was: bash help; changing case of file names, hyperlinks) 56, Lee Forrest, 02/24/2007
-
Re: [BL] bash help; changing case of file names, hyperlinks,
sindi keesan, 02/24/2007
Archive powered by MHonArc 2.6.24.