03-22-2008
Request for comments -- Directory favorites under bash
Here are a couple of files related to some ideas I have had on providing a mechanism for navigation across a set of "favorite directories."
I would appreciate any comment on the approach and any other useful recommendations.
Please visit my project home page on sourceforge
Bash Navigator Home Page
Last edited by rlandon@usa.net; 04-15-2008 at 12:20 AM..
Reason: Add link to sourceforge home page
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Suppose i have a file like this:
#bla bla
#bla bla bla bla bla
Bla
BLA
BLA BLA #bla bla
....
....
how can i remove all comments from every line,even if they are behind commands or strngs that are not comments?
any idea how i could do that using awk? (2 Replies)
Discussion started by: bashuser2
2 Replies
2. Shell Programming and Scripting
I have a Bash script where, in a loop, I access several urls.
Sometimes, if an url is not available, lynx hangs, and the script does not continue. How can I time out the lynx request when it takes more than, 10 Seconds, but continue with the other jobs...
For some reason lynx does not care... (1 Reply)
Discussion started by: lowmaster
1 Replies
3. Shell Programming and Scripting
I want to write a script where it search for text in all the files in a directory ... this direcotry includes sub_directory which also contains list of files ...
The for loop must pass by the list of files in directory and enters the subdiectory and list all its files....
Please i need... (1 Reply)
Discussion started by: ahmedwaelkord
1 Replies
4. Shell Programming and Scripting
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies
5. Shell Programming and Scripting
I would like to remove comments from a bash script. In addition, I would like to remove lines that consist of only white spaces, and to remove blank lines.
#!/bin/bash
perl -pe 's/ *#.*$//g' $1 | grep -v ^]*$ | perl -pe 's/ +/ /g' > $2
#
# $1 INFILE
# $2 OUTFILE
The above code... (10 Replies)
Discussion started by: LessNux
10 Replies
6. Shell Programming and Scripting
As I stated in a previous thread - I'm a newbie to Unix/Linux and programming. I'm trying to learn the basics on my own using a couple books and the exercises provided inside.
I've reached an exercise that has me stumped. I need to write a bash script that will will read in a file and print the... (11 Replies)
Discussion started by: ksmarine1980
11 Replies
LEARN ABOUT DEBIAN
page_intro
page_intro(3tcl) Parser generator tools page_intro(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
page_intro - page introduction
DESCRIPTION
page (short for parser generator) stands for a set of related packages which help in the construction of parser generators, and other util-
ities doing text processing.
They are mainly geared towards supporting the Tcllib application page, with the package page::pluginmgr in a central role as the plugin
management for the application. The other packages are performing low-level text processing and utility tasks geared towards parser genera-
tion and mainly accessed by page through plugins.
The packages implementing the plugins are not documented as regular packages, as they cannot be loaded into a general interpreter, like
tclsh, without extensive preparation of the interpreter. Preparation which is done for them by the plugin manager.
BUGS, IDEAS, FEEDBACK
This document, will undoubtedly contain bugs and other problems. Please report such in the category page of the Tcllib SF Trackers
[http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have.
KEYWORDS
page, parser generator, text processing
CATEGORY
Page Parser Generator
COPYRIGHT
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
page 1.0 page_intro(3tcl)