Sponsored Content
Full Discussion: Echo working funny
Top Forums Shell Programming and Scripting Echo working funny Post 302328029 by methyl on Tuesday 23rd of June 2009 08:08:25 AM
Old 06-23-2009
Not sure what you were trying to achieve here but beware that "swlist" on its own lists the bundles. Each bundle can contain multiple packages.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Funny but true....

Hallo everybody I am having a shell script called auto_run.sh in that only the first line works. the second line which has sed command is working only at the # prompt. not within the shell script. What could be the reason. *... sed 's/ //g' KTI >abc works in another shell script without the... (6 Replies)
Discussion started by: naushad
6 Replies

2. UNIX for Dummies Questions & Answers

Is echo $variable >> text.txt working in MacOSX?

Hi New at this, but want to learn more. I'm trying this as an Shell Command in MacOSX; newdate='<TIME>' echo $newdate >> /Users/ttadmin/Desktop/test.txt And it don't work. But if I just use; echo <TIME> >> /Users/ttadmin/Desktop/test.txt (<TIME> is an variable that one program... (6 Replies)
Discussion started by: jackt
6 Replies

3. Shell Programming and Scripting

why the set rr='echo string|cut not working

I am new to the c shell script, can you let me know why the set rr= is not working. C shell script #! /bin/csh Set tt= 12345_UMR_BH452_3_2.txt set rr='echo $tt | cut –d”_” -f1' syntax error (4 Replies)
Discussion started by: jdsignature88
4 Replies

4. What is on Your Mind?

Old, but still funny

Annoyances.org - Upgrading to Wife 1.0 (0 Replies)
Discussion started by: jgt
0 Replies

5. Shell Programming and Scripting

echo is not working as expected

for i in `cat /export/home/afahmed/Arrvial_time.txt` do echo $i echo $i | awk '$3 < $D { print $4 }' >> dynamic_DF.txt; done When i echo, its echo as Nov 15 02:24 /export/home/pp_adm/inbound//wwallet_20111115.txt where i expect it to be Nov 15 02:24... (7 Replies)
Discussion started by: afahmed
7 Replies

6. Shell Programming and Scripting

echo two variables like the paste command is not working

Dear all, I have two files like this file1 A B C D E F file2 1,2 3,4 5,6 I want this output output_expected A B 1,2 C D 3,4 E F 5,6 (3 Replies)
Discussion started by: valente
3 Replies

7. Shell Programming and Scripting

Echo not working with $

$cat FILE.txt $PATH1/file1.txt $PATH2/file2.txt where$PATH 1 = /root/FILE_DR/file1.txt $PATH 2 = /root/FILE_DR/file2.txt for I in `cat FILE.txt` do v=`echo $I` echo $v if then rm $v (5 Replies)
Discussion started by: ekharvi
5 Replies

8. Shell Programming and Scripting

Echo command not working in the script

HI I have and echo command which works perfectly in the shell but when i execute in the script it gives me an error code query is as below QUERY=`echo "Select Severity,Dupl_count,Creation_Time,Last_Received,Node_Name,Node_Name,Object,Message_Group,Message_Text,Last_Annotation from " \ ... (2 Replies)
Discussion started by: Jcpratap
2 Replies
BPSTATS2(1)							  BP executables						       BPSTATS2(1)

NAME
bpstats2 - Bundle Protocol (BP) processing statistics query utility via bundles SYNOPSIS
bpstats2 sourceEID [default destEID] [ct] DESCRIPTION
bpstats2 creates bundles containing the current values of all BP processing statistics accumulators. It creates these bundles when: o an interrogation bundle is delivered to sourceEID: the contents of the bundle are discarded, a new statistics bundle is generated and sent to the source of the interrogation bundle. The format of the interrogation bundle is irrelevant. o a SIGUSR1 signal is delivered to the bpstats2 application: a new statistics bundle is generated and sent to default destEID. EXIT STATUS
0 bpstats2 has terminated. Any problems encountered during operation will be noted in the ion.log log file. 1 bpstats2 failed to start up or receive bundles. Diagnose the issue reported in the ion.log file and try again. OPTIONS
[ct] If the string "ct" is appended as the last argument, then statistics bundles will be sent with custody transfer requested. FILES
No configuration files are needed. ENVIRONMENT
No environment variables apply. DIAGNOSTICS
The following diagnostics may be issued to the ion.log log file: bpstats2 can't bp_attach(). bpadmin has not yet initialized BP operations. bpstats2 can't open own endpoint. Another BP application has opened that endpoint; close it and try again. No space for ZCO extent. ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun. Can't create ZCO extent. ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun. bpstats2 can't send stats bundle. Bundle Protocol service to the remote endpoint has been stopped. Can't send stats: bad dest EID (dest EID) The destination EID printed is an invalid destination EID. The destination EID may be specified in default destEID or the source EID of the interrogation bundle. Ensure that default destEID is an EID that is valid for ION, and that the interrogator is a source EID that is also a valid destination EID. Note that "dtn:none" is not a valid destination EID, but is a valid source EID. NOTES
A very simple interrogator is bpchat which can repeatedly interrogate bpstats2 by just striking the enter key. BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu> SEE ALSO
bpstats(1), bpchat(1) perl v5.14.2 2012-05-25 BPSTATS2(1)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy