Search Results

Search: Posts Made By: lev_lafayette
7,343
Posted By lev_lafayette
Thank you. That worked perfectly. I owe you a...
Thank you. That worked perfectly. I owe you a beer. :)
7,343
Posted By lev_lafayette
Of bash and whitespace...
Hmmm... Bash doesn't parse whitespace with a read.

lev@sys09:~$ read line; echo "$line"
test
test


You can imagine what this does if you're using a shell script to read a list of unknown...
Forum: Open Source 10-31-2007
195,070
Posted By lev_lafayette
I'm not voting because: a) It's a horses for...
I'm not voting because:

a) It's a horses for courses
and
b) I can't make up mind ;-)

What does surprise me that the "shiny-shiny" kid on the block, which is doing very well on HPD on...
Forum: Open Source 10-31-2007
195,070
Posted By lev_lafayette
There's something about Ian's partner that you...
There's something about Ian's partner that you seem to have inside knowledge of. Pun not intended.
Forum: What is on Your Mind? 10-04-2007
27,615
Posted By lev_lafayette
Sheesh! Call yourselves unix geeks!?! Where's the...
Sheesh! Call yourselves unix geeks!?! Where's the coffee?! ;-)

(For something stronger, I prefer cognac)..
Forum: Solaris 09-25-2007
17,094
Posted By lev_lafayette
A mismatch in tar versions can cause this. ...
A mismatch in tar versions can cause this.

Also, if you're dealing with a text file can I recommend compressing the file? Tar doesn't compress, it simply creates an archive.
7,694
Posted By lev_lafayette
bin and daemon are users. 'nologin' is precisely...
bin and daemon are users. 'nologin' is precisely that; the effect is that nobody can login with the user bin or daemon. Which is a very good idea.

The following may help:

[Chapter 4] Users,...
3,164
Posted By lev_lafayette
These are fairly clear instructions and examples....
These are fairly clear instructions and examples.

I agree that scp's syntax can be a little odd at times if you're new to it.

scp (http://amath.colorado.edu/computing/software/man/scp.html)
6,423
Posted By lev_lafayette
If they have "no experience" I would humbly...
If they have "no experience" I would humbly suggest that they're a user, rather than any of the above. ;)

Apropos the original question I would give a qualified recommendation to Teach Yourself...
11,363
Posted By lev_lafayette
Thanks for nothing.
Thanks for nothing.
11,363
Posted By lev_lafayette
:rolleyes: You know that doesn't work....
:rolleyes:

You know that doesn't work. bash/sh use if/fi constructs whilst csh uses if/endif for starters. As I said in the first post ;)
11,363
Posted By lev_lafayette
Not in this case. Which is what I...
Not in this case.



Which is what I requested in the first post.
11,363
Posted By lev_lafayette
Because some users (boffins) want it. More than...
Because some users (boffins) want it. More than one person will use this script, and some are pretty tied to their preferred shell, and ne'er reason nor rhyme will convince them otherwise.

I...
27,692
Posted By lev_lafayette
This is actually quite a famous problem. I quote...
This is actually quite a famous problem. I quote verbatim from "Classic Shell Scripting"



And here's the code, right from the book



#! /bin/sh
# Read a text stream on standard input, and...
11,363
Posted By lev_lafayette
From bash to csh and zsh
... Am I glad to find this forum (and vBulletin too, nice!)..

OK, here's my issue. I have been handballed a bash script, not pretty but functional. I need to change to csh and zsh. For the csh I...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 10:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy