Search Results

Search: Posts Made By: Allasso
1,875
Posted By Allasso
Ftp login commands
Hello,

I am using ftp on command line. The problem is getting bumped off after 15 minutes of no activity.. I have two options: quit ftp and use the command history of my shell, or stay in ftp...
Forum: OS X (Apple) 06-14-2010
1,695
Posted By Allasso
gftp won't launch properly after installing using darwinports
Hello,

I installed gftp using darwinports on Snow Leopard. Install appeared to go fine with no errors. When trying to launch gftp by starting X11, then typing /opt/local/bin/gftp in the...
7,165
Posted By Allasso
thanks. Have any ideas on how wget gets this...
thanks. Have any ideas on how wget gets this information via http?
7,165
Posted By Allasso
reading file headers
Hello,

I have done much googling on this, but apparently not using the right keywords.

I am assuming there is some kind of header for each file on a disk which stores information such as mod...
2,929
Posted By Allasso
wget - force link conversion for all links?
Hello,

In using wget with the -k option to convert links to relative URLs, I am finding that not all the links get converted in a recursive download, and when downloading a single file, none of...
6,316
Posted By Allasso
thank you for your reply. Your example works...
thank you for your reply.

Your example works fine for what it does, but the whole point is to be able to use the square brackets so I can use the NOT form -- [^...] -- in order to keep the match...
6,316
Posted By Allasso
gnu sed regex grouping not working?
Hello,

from the gnu sed manual, I should be able to do this:

`\(REGEXP\)'
Groups the inner REGEXP as a whole, this is used to:

* Apply postfix operators, like `\(abcd\)*':...
8,413
Posted By Allasso
update ( this is not a bump - I just discovered...
update ( this is not a bump - I just discovered some new information )

I noticed that I can create a dummy html login page with just a form where I submit the same information, and can log into...
8,413
Posted By Allasso
maintaining form post session using curl
Hello,

I have searched for a good part of the day, but cannot seem to find an answer to this. I hope this is an appropriate forum for my question.

I am wanting to download a blog web page...
3,758
Posted By Allasso
gui text box code snippet?
Hello,

I have written some scripts that query the user and waits for keyboard input for an answer. I was wondering if there is any generic code snippets out there that would allow me to run this...
3,137
Posted By Allasso
thank you. Someone pointed me to using an array,...
thank you. Someone pointed me to using an array, and I think that is going to do exactly what I want.
3,137
Posted By Allasso
naming variables with variables
Hello,

FIRST QUESTION:

I am writing a script in which a query is taken at the beginning of the script to be later used at the end. In the query, variables are generated from a loop, and I...
8,830
Posted By Allasso
One other thing, to answer your question: In...
One other thing, to answer your question:

In order to use the awk command to set the variable, I would have to direct output to a file, catch the variable, then read the file again to resume the...
8,830
Posted By Allasso
thank you MS. I guess to answer your question,...
thank you MS. I guess to answer your question, there might be two reasons. One, I want to catch this in the middle of an existing sed script, and to exit it just to use awk seems a bit troublesome...
8,830
Posted By Allasso
thanks, yes it helps, sort of. yes, I see...
thanks, yes it helps, sort of.

yes, I see that I can type:

echo | sed 's/^$/nullstring/' (newline not suppressed in echo command)

and I get a substitution and output.

It doesn't make...
8,830
Posted By Allasso
null string matching in sed?
Hello,

I would assume the expression ^$ should match a null string. Yet when I run:

echo -n | sed 's/^$/nullstring/'

I get no output.

Can anyone tell me why?
6,088
Posted By Allasso
I heard this suggestion: "To get around this...
I heard this suggestion:

"To get around this and other idiotic privilege problems created by using sudo, I just open a gnome-terminal window and run "sudo bash". That will give you root privileges...
6,088
Posted By Allasso
fortunately security is not really an issue in my...
fortunately security is not really an issue in my situation, but I do appreciate the advice.

Thank you.

Allasso
6,088
Posted By Allasso
Thank you, Porter, that did it. (though I hardly...
Thank you, Porter, that did it. (though I hardly understand what I was doing there, just followed the recipe :-)

useful at times, yes, but sometimes quite tedious.

Thanks again,

Allasso
6,088
Posted By Allasso
Please ignore - (dummy post so I could subscribe...
Please ignore - (dummy post so I could subscribe to email notification)
6,088
Posted By Allasso
running X-11 programs as root
Hello,

I would like to run gedit as root while logged into my regular user account. When I try to launch gedit from the command line as super user, I get this message:

Gtk-WARNING **: cannot...
12,463
Posted By Allasso
apologies, I wasn't using the double...
apologies,

I wasn't using the double brackets (thought I was...)

Problem solved-

Thanks, Allasso
12,463
Posted By Allasso
wildcards in "if then" statement
Hello,

I would like to use a simple "if then" test to check if an argument to a command begins with "http://" as follows:

if [[ $2 == http://* ]]; then

command
fi

but the wildcard just...
2,431
Posted By Allasso
wildcards in "if then" statement
Hello,

I would like to use a simple "if then" test to check if an argument to a command begins with "http://" as follows:

if [ $2 == http://* ]; then

command
fi

but the wildcard just...
Showing results 1 to 24 of 24

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