8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I my script i telent my node ip and after loging i run some commands...But some time login fail so i want to stop script at that time..
printf 'Please Input Node ID : '
#exec > node_log_$node.log 2>&1
>... (2 Replies)
Discussion started by: Ganesh Mankar
2. Shell Programming and Scripting
I have a requirement where if Source Count is not equal to Target count, then I need to exit/abort the script and come out. Then send an email to firstname.lastname@example.org saying "RECORD COUNT DOES NOT MATCH. Please need your help.
Here is what I have written : If even the count is not... (1 Reply)
Discussion started by: thummi9090
3. UNIX for Dummies Questions & Answers
I need help in logging the error to the error log of one of sort command which i'm using and terminate the process if sort command is not able to execute.
sort -k 1.10,1.20n -o $outputfile $inputfile
how can i achieve the above. (6 Replies)
Discussion started by: mehulleo
4. Shell Programming and Scripting
I have an input like
184.108.40.206 (5 Replies)
Discussion started by: dnam9917
5. Shell Programming and Scripting
Hello Everybody :) !!!. i have question in mind, is it possible to sort a list of hexadecimal numbers using "sort" command? (9 Replies)
Discussion started by: Kesavan
6. Shell Programming and Scripting
Hi to all.
I'm trying to sort this with the Unix command sort.
I need to get this:
user3:12345687:5.5:2.5:6:1:3:2... (7 Replies)
Discussion started by: daniel.gbaena
7. Shell Programming and Scripting
I have a little bash script that includes make to compile with g++ and then a statement to actually run the compiled program. When it (the script) gets a syntax error, it does not abort and continues to run the previous version of the program.
How can I make the script abort when g++ generates a... (1 Reply)
Discussion started by: siegfried
8. Filesystems, Disks and Memory
I am working on Solaris 8, i have this application runing on one of the partitions,(the installation was done here ie /export/home)
And the out put of this goes to another parition of other disk attached to the same machine. After a certain period of time is get this error stating... (2 Replies)
Discussion started by: zing
WRAP-AND-SORT(1) General Commands Manual WRAP-AND-SORT(1)
wrap-and-sort - wrap long lines and sort items in Debian packaging files
wrap-and-sort wraps the package lists in Debian control files. By default the lists will only split into multiple lines if the entries are
longer than 80 characters. wrap-and-sort sorts the package lists in Debian control files and all .install files. Beside that wrap-and-sort
removes trailing spaces in these files.
This script should be run in the root of a Debian package tree. It searches for control, control.in, copyright, copyright.in, install, and
*.install in the debian directory.
Show this help message and exit.
Wrap all package lists in the Debian control file even if the entries are shorter than 80 characters and could fit in one line line.
Only indent wrapped lines by one space (default is in-line with the field name).
Sort binary package paragraphs by name.
When sorting binary package paragraphs, leave the first one at the top. Unqualified debhelper(7) configuration files are applied to
the first package.
Do not remove trailing whitespaces.
-d path, --debian-directory=path
Location of the debian directory (default: ./debian).
-f file, --file=file
Wrap and sort only the specified file. You can specify this parameter multiple times. All supported files will be processed if no
files are specified.
Print all files that are touched.
wrap-and-sort and this manpage have been written by Benjamin Drung <email@example.com>.
Both are released under the ISC license.
Debian Utilities WRAP-AND-SORT(1)