Sponsored Content
Full Discussion: How to Beautify ur code?????
Top Forums UNIX for Dummies Questions & Answers How to Beautify ur code????? Post 23232 by Perderabo on Wednesday 19th of June 2002 07:55:31 AM
Old 06-19-2002
I have never heard of a program like cb for shell scripts. And it's no great loss. I was never impressed with cb. Ugly code always has deeper problems than poor indenting. There is only one way to get beautiful code: use very good programmers.
 

6 More Discussions You Might Find Interesting

1. Programming

how i prepare a c++ code(c code) for implementing my own protocol format

helo my protocol format is given below { destno,mode,no.of packet,pktsize,,pktno,textsize,CRC} description:- { is starting flag destno - 4bytes mode - 1 byte no.of pkt - 4byes pktsize - 6 bytes ... (1 Reply)
Discussion started by: amitpansuria
1 Replies

2. Shell Programming and Scripting

csh code to ksh code

I have this code using csh and want to convert it to ksh to include this thinking into my ksh scripts. while ( $iarg < $narg ) MATH iarg = $iarg + 1 set arg = $argv set opt=` echo $arg | awk 'BEGIN { FS="=" } { print $1 }' ` set par=` echo $arg | awk 'BEGIN { FS="=" } {... (2 Replies)
Discussion started by: kristinu
2 Replies

3. Shell Programming and Scripting

translate ksh code to csh code

hi all, Can any 1 help me translate this korn shell code to C shell code : email=$(grep "^$1" $folder/config_2.txt | awk '{print $2'}) In config_2.txt the content is : which mean in korn shell , $1=groupname and $2=email address. Now i need to write in C shell script,when i set the... (2 Replies)
Discussion started by: proghack
2 Replies

4. UNIX for Dummies Questions & Answers

If ‘922’ Code does not exist on ‘03’ Record, ‘901’ Code will be there instead, move ‘03’ R

01,011600033,011600033,110516,0834,2,90,,2/ 02,011600033,011103093,1,110317,0834,,2/ 03,105581,,015,+00000416418,,,901,+00000000148,,,922,+000000 00354,,/ 03,113806,,015,+00000559618,,,901,+00000000096,,,922,+000000 00621,,/ 88,902,+0000000025218,,/... (1 Reply)
Discussion started by: sgoud
1 Replies

5. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

6. Linux

Go to a line of code , skip few lines of code

Hi , I have a code where i am using a infinite while loop . some thing like below while do if then #go to line 20 fi command 1; command 2; #line 20: sleep 34; (5 Replies)
Discussion started by: Paarth
5 Replies
MHEARD(1)						     Linux Programmer's Manual							 MHEARD(1)

NAME
mheard - display AX.25 calls recently heard. SYNOPSIS
mheard [-d cmns] [-n] [-o cfpt] [-v] [port...] DESCRIPTION
Mheard displays information about most recently heard AX.25 callsigns, the interface upon which they were heard, the total packets heard, the time at which the last one was heard and other information. Mheard displays different information, in different orders depending on the settings of the arguments. Information on specific ports can be displayed by giving the port names as arguments. OPTIONS
-d cmns Sets the information that is displayed for each AX.25 callsign heard. The different arguments are: c Display all the information with regard to callsigns, from-callsign, to-callsign, port name, and any digipeaters that may be in use. m Display miscellaneous information, the from-callsign, port name, no frames heard, the last type of frames heard, and which different PIDs have been heard from that station. n Display the default information. This is the from-callsign, port name, no frames heard and the date and time last heard. s Displays statistics about the station heard, the from-callsign, port name, no I frames, no S frames, no U frames, time first heard, and time last heard. -n Supress the displaying of titles. -o cfpt Sets the ordering of the information displayed. The meanings of the different arguments are: c Sort list by from-callsign. f Sort list by number of frames heard. p Sort list by port name. t Sort list by the time last heard, this is the default. -v Display the version. FILES
/var/ax25/mheard/mheard.dat /etc/ax25/axports SEE ALSO
ax25(4), mheardd(8). AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Linux 19 August 1996 MHEARD(1)
All times are GMT -4. The time now is 09:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy