01-26-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This could be a really dumb question, but for a newbie trying to learn, some help would be appreciated. When you write a shell script, what extension should it have, and more importantly, where do you put it???? (7 Replies)
Discussion started by: ober5861
7 Replies
2. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
3. UNIX for Dummies Questions & Answers
I have written a script to start websphere server, I dont know where to put
the file in the OS . please put me the place to put the starup scripts in linux, solaris and AIX? (2 Replies)
Discussion started by: jayaramanit
2 Replies
4. Shell Programming and Scripting
I'm a newbie here, today I've got a problem. Here's the shell:
b.sh
#!/bin/bash
rm -rf $1
a.sh
#!/bin/bash
for file in '/root/Desktop/test/*'
do
echo $file
sh ./b.sh $file
done
ls /root/Desktop/test
When I sh a.sh, the result is : (2 Replies)
Discussion started by: very.very.sorry
2 Replies
5. Shell Programming and Scripting
I want a way to put a break point in gdb by runing a shell script.
Actualy I wanted to do certain automisation of a long manual process, which includes starting of a process in background and then taking the process ID of that process and then attach the gdb to that process ID. Then finaly... (4 Replies)
Discussion started by: kapilkumawat
4 Replies
6. Shell Programming and Scripting
Hi All,
I have a to read a file and put the result in one line. The i am reading from contain the data like below.
1 signifies the beging of the new line. (6 Replies)
Discussion started by: lottiem
6 Replies
7. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
8. Shell Programming and Scripting
Hi,
Can any one tell me how to put data using shell script to a excel file from text file to other columns of excel file,leaving first column unaffected i.e it should not overwrite data in first column.
Say my text file data is:
15-dec-2008 15-dec-2009
16-dec-2008 16-dec-2009
say my first... (1 Reply)
Discussion started by: siri_886
1 Replies
9. What is on Your Mind?
Approaching the end of my portion of some STIG/DOD compliance automation and I was challenged by a co-worker to include a story in my code. There are blocks of code that need to be kept the way they are for GIT/Gerrit and then compliance, but otherwise I changed out all the comments into a... (2 Replies)
Discussion started by: Vryali
2 Replies
10. Shell Programming and Scripting
I have the following script used, i am new to shell scripting. tryign to understand.
in the put $BASE_FOLDER/$base_name holds which path.
What does it mean by $1
second path in put command is it constructing this path: /user/hive/warehouse/stage.db/$1
what is $1 holding in above path.
... (2 Replies)
Discussion started by: cplusplus1
2 Replies
NRSS(1) NRSS NRSS(1)
NAME
NRSS - An ncurses RSS reader
DESCRIPTION
NRSS is an RSS reader built to use minimal amounts of external libraries, using a minimal interface while maintaining a featureful client.
COMMAND LINE USAGE
-h Simple help
-v Print version
-c [num]
Set number of columns
-D [path]
Set the configuration directory (default: ~/.nrss/)
-C [path]
Set the configuration file (default: ~/.nrss/config)
-F [path]
Set the feed directory (default: ~/.nrss/feeds)
-L [path]
Set the log file (default: ~/.nrss/log)
INTERNAL USAGE
Within the program you can use the following (default) keys. These can be changed in your configuration file by using the "key" command.
UP or DOWN
Select previous or next item/feed (next) (prev)
PGUP or PGDOWN
Goto previous or next feed (next-feed) (prev-feed)
h Display usage (toggle-usage)
C Toggle collapse all feeds (toggle-collapse-all)
Space Collapse a feed or read a story (default)
g Use the defined browser to goto the item's URL (goto)
x Show all items in feed (toggle-expand)
r Refresh the current feed (refresh)
R Refresh all (refresh-all)
M Mark all read (mark-all-read)
D Redraw screen (redraw)
q Quit NRSS (quit)
CONFIGURATION
The ~/.nrss/config file is where all of the configuration is. You can start by using the example config below.
EXAMPLE CONFIG
default_rate "5"
default_show "30"
default_maxitems "50"
#Add some feeds
add "http://rss.slashdot.org/Slashdot/slashdot" "Slashdot"
add "http://www.digg.com/rss/index.xml" "Digg All"
add "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" "BBC"
add "http://www.osnews.com/files/recent.xml" "OSNews"
add "http://distrowatch.com/news/dw.xml" "DistroWatch"
#Change rate for Slashdot
rate "30" "Slashdot"
#These aren't defaults, but examples
browser "/usr/bin/elinks %u"
#Text browsers should enable this
browser_wait "1"
FILES
~/.nrss/config
Main configuration file. For advanced usage, see the online configuration documentation: http://codezen.org/nrss-config
~/.nrss/log
Everyday log file.
~/.nrss/feeds/
This is where the raw XML is stored.
BUGS
None known, but it's not outside of the realm of possibility =P.
HOMEPAGE
http://codezen.org/nrss
AUTHOR
Jack Miller <jjm2n4@umr.edu>
Version 0.3.9 26 February 2008 NRSS(1)