On Wed, Mar 28, 2001 at 08:40:21AM -0500, Jeffry Smith
<[EMAIL PROTECTED]> wrote:
> > Maybe. Some U*ixes don't let you change your own shell. You may need
> > to get the system administrator to change it for you.
>
> or just have a "sh" command run on start-up.
Indeed, this is what I do h
Derek Martin said:
> On Tue, Mar 27, 2001 at 11:53:18AM -0500, Paul Lussier wrote:
>
> > >[EMAIL PROTECTED] writes:
> > >
> > >> I'm on a box that uses csh as its default shell,
> >
> > Remember you can change your shell with the chsh or ypchsh commands
>
> Maybe. Some U*ixes don't let you
Changing shells is not always the best thing to do. While Perl and Awk do this best,
you calso can write shell scripts to invoke a specific shall:
#!/bin/ksh
while read -r line
do
for i in $line
# as you loop through $i will contain the tokens.
done
done
--
Jerry Feldman <[EMA
On Tue, Mar 27, 2001 at 11:53:18AM -0500, Paul Lussier wrote:
> >[EMAIL PROTECTED] writes:
> >
> >> I'm on a box that uses csh as its default shell,
>
> Remember you can change your shell with the chsh or ypchsh commands
Maybe. Some U*ixes don't let you change your own shell. You may need
In a message dated: Tue, 27 Mar 2001 10:52:42 EST
"Kevin D. Clark" said:
>
>[EMAIL PROTECTED] writes:
>
>> I'm on a box that uses csh as its default shell,
Remember you can change your shell with the chsh or ypchsh commands
to a shell of your choice. Just make sure the shell you change to
e
In a message dated: Tue, 27 Mar 2001 09:54:06 EST
"Mansur, Warren" said:
>Hi,
>
>I'm on a box that uses csh as its default shell, so I'm wondering if there
>is a way in csh shell scripting to read in a file a line at a time, and then
>get the fourth token on each line.
Are you trying to write a
[EMAIL PROTECTED] writes:
> I'm on a box that uses csh as its default shell,
> so I'm wondering if there
> is a way in csh shell scripting to read in a file a line at a time, and then
> get the fourth token on each line. The tokens are separated by spaces, such
> as:
>
> token1 token2 toke
Hi,
I'm on a box that uses csh as its default shell, so I'm wondering if there
is a way in csh shell scripting to read in a file a line at a time, and then
get the fourth token on each line. The tokens are separated by spaces, such
as:
token1 token2 token3 token4 token5 . . .
And the file cont