09-16-2007
Quote:
Originally Posted by
vgersh99
one of the FAQs:
I think I should be reading the FAQs more myself...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies
2. Shell Programming and Scripting
Hi,
I am kinda confused with this, am not sure what is happening
i have a script say test.sh
----------
cat myfile | while read line
do
exit 2
done
echo "out of loop"
-----------
as it is evident, the exit should cause the script to terminate ,hence producing no output for the... (1 Reply)
Discussion started by: sumirmehta
1 Replies
3. Shell Programming and Scripting
I am trying to have a script run without interaction from the command line. So in my script i have a line like this
echo -e "\n\n\ny\ny\n" | ./script
the goal being the ability to mimic 3 Enter presses and 2 'y/n' responses with 'y' followed by enter.
For some reason tho, it is not... (1 Reply)
Discussion started by: mcdef
1 Replies
4. Shell Programming and Scripting
Hi friends
I have a zip file 1.zip which contains three text files a.txt b.txt c.txt
I want to grep some text(keyword) in those 3 files without extracting all the three files to a local directoryusing the command,
unzip -p 1.zip |grep "search text" >result.txt
The Output file is... (2 Replies)
Discussion started by: ks_reddy
2 Replies
5. Shell Programming and Scripting
Hi All,
i have a script named as 1. scr_FTP.sh, it calls the script(2)
2. file_create.sh
And in that 2nd script, i use the below function run_complete_workflow().
I introduced exit(1) to exit from the function: run_complete_workflow() and also from the 2nd script: file_create.sh and... (3 Replies)
Discussion started by: vsmeruga
3 Replies
6. Shell Programming and Scripting
I'm trying to pipe the output from a command into another using xargs but is not getting what I want. Running this commands:
find . -name '33_cr*.rod' | xargs -n1 -t -i cut -f5 {} | sort -k1.3n | uniq | wc -l
give the following output:
cut -f5 ./33_cr22.rod
cut -f5 ./33_cr22.rod
...
9224236... (7 Replies)
Discussion started by: ivpz
7 Replies
7. UNIX for Dummies Questions & Answers
Hey,
I want to create a new file (devices) with the 39th and the 40th character of the line wich is in the array line and in the file drivers.
But unfortunately my try doesn't work:
sed -n '$linep' drivers | cut -c 39-40 | echo >>devices Perhaps one of you can help me. Thank you!
emoly
... (0 Replies)
Discussion started by: emoly
0 Replies
8. Shell Programming and Scripting
Hi ,
I have following code in my shell script :
"$TS_BIN/tranfrmr" "${TS_SETTINGS}/tranfrmr_p1.stx" "${TS_LOGS}/tranfrmr_p1.err" | (
"$TS_BIN/cusparse" "${TS_SETTINGS}/cusparse_p2.stx" "${TS_LOGS}/cusparse_p2.err" | (
"$TS_BIN/tsqsort" "${TS_SETTINGS}/srtforpm_p3.stx"... (8 Replies)
Discussion started by: sonu_pal
8 Replies
9. Homework & Coursework Questions
Hey guys. I'm very new to Unix. I'm pretty fluent in Java and C, but I have never actually used Unix for anything. I am in an Operating Systems course now and I have an assignment to write a piece of code that involves forks and piping. I'm stuck.
1. The problem statement, all variables and... (6 Replies)
Discussion started by: itsjimmy91
6 Replies
10. UNIX for Advanced & Expert Users
Today I needed to take a look through a load of large backup files, so I wrote the following line to find them, order them by size, and print the file sizes in GB along with the filename. What happened was odd, the output was all as expected except for the first output line which had the filename... (4 Replies)
Discussion started by: gencon
4 Replies
LEARN ABOUT SUSE
subscriptions
SUBSCRIPTIONS(5) InterNetNews Documentation SUBSCRIPTIONS(5)
NAME
subscriptions - Default recommended subscriptions
DESCRIPTION
The pathetc/subscriptions file contains a list of newsgroups that is returned by the NNTP command LIST SUBSCRIPTIONS.
Clients that support this command usually send it the first time they connect to a new news server. They use the returned list to
initialize the list of subscribed newsgroups. The subscriptions file therefore should contain groups intended for new users, for testing,
or that contain FAQs and other useful information for first-time Usenet users.
The syntax of the subscriptions file is trivial; it is a simple list of newsgroup names, one per line. The order of newsgroups may be
significant; the news reading client may present the groups in that order to the user.
EXAMPLE
A typical subscriptions file may look like:
news.announce.newusers
news.newusers.questions
local.test
local.general
local.talk
misc.test
misc.test.moderated
news.answers
news.announce.newgroups
This gives the client the FAQs and question newsgroup for new users first, then a local newsgroup for testing and various commonly-read
local discussion groups, followed by the world-wide test groups, all the FAQs, and announcements of new world-wide newsgroups. If there is
a local new users group, one might want to list it first.
HISTORY
Written by Bettina Fink <laura@hydrophil.de> for InterNetNews.
$Id: subscriptions.pod 8822 2009-11-20 17:34:15Z iulius $
SEE ALSO
nnrpd(8).
INN 2.5.2 2010-02-08 SUBSCRIPTIONS(5)