Acts of Volition

Comments

filmgoerjuan -

If you're using Firebird/fox for browsing, you can also do the following:

1) Open up the Page Info
2) Select the Media tab
3) Select the media/graphic/flash file from the list
4) Click the "Save As" button

Very handy.

David -

I always use "curl" for what you do with "wget". I live on the command line though.

peio -

I am sure that you will love grep too. This is one of the tools that every geek misses in the real life.

It's magic lies in the ability to find any text in any text file so if you want to know per example from where in the source this output comes you can always ask:
grep -rn [word/pattern] /usr/local/src/app/
and it will search all the source tree and tell you every occurence on every row in every file

And this is just the begining :)

Buzz Bruggeman -

But what if the command line was anywhere, and the commands were yours.

Looking at some of the illustrations above makes my head hurt! How about just having a command like "find" that finds stuff.

I keep wondering when you will use ActiveWords to name this stuff instead of using some obscure character string!

Buzz

nathan -

I'm not a user of ActiveWords, but it strikes me that it has one of the same shortcomings that a GUI shell has: no way to connect small programs together to perform larger tasks. Granted that might not be it's intent, but the outcome is that it's a commandline-like interface that can accomplish some GUI equivalent tasks with fewer mouse clicks. An ideal shell (text or graphical) should do alot more than just provide a mechanism for launching of programs quickly. Being able to connect programs together in ways not envisioned by their authors is an extremely powerful concept. It allows for existing programs to be used in new ways and encourages the creation of smaller programs that do one thing well rather than large monothlic applications that each live in their own universe and lead to integration nightmares.

My second point is that inuition and obscurity are entirely in the eye of the user. It all depends on the individual's past experience. If you knew nothing about Office, then typing "excel" into ActiveWords is equally as obscure as typing "grep" into Bash. If you had no past experience with computers, then you would have no idea what outcome to expect from either command.

Nathar Leichoz -

In Internet Explorer there is a way to search text using search prefixes in the address bar. For example I would type "? flowers" and it would access the site "http://www.google.com/search?q=flowers".

There is a way to add more search prefixes by editing the registry or by using TweakUI. I've, however, used this feature instead to launch javascript functions. For example, instead of using wget on a URL, I'd type "get http://www.yahoo.com/file.wmv" and it would run the script "javascript:void(document.body.innerHTML="<a href='"+unescape("%s")+"'>click here</a>");". Then I would just right-click on the link and save-as to download the file.
Cheers.

Rob -

If you want to be cool like Steven and use these GNU tools from your Windows command prompt you can download win32 versions here. Although you totally feel like a poseur typing 'grep' or 'find' (used to find things, just not text in a file) from a C prompt, just tell yourself it's only until you make the transition.

Jason -

You can also install cygwin and type 'grep' and 'find' from a bash prompt instead of a C:> prompt.

Estevez -

Other wonderful tools...

cat /tmp/foo.txt | sed -e 's/find/replace/' > /tmp/new.txt
and you should also try dig, sort, uniq -c, awk, and others.

Some much CLI, so little time.

Gary Haran -

I don't like sed as much as I like using find and perl together. xargs allows to use the names of files in the next command :

find -type f -name "*.ext" | xargs perl -pi -e "s/string_to_find/replacement_string/gi;"