Sponsored Content
Full Discussion: Organize (pretty) code
Special Forums UNIX and Linux Applications Organize (pretty) code Post 302528598 by DGPickett on Tuesday 7th of June 2011 12:45:07 PM
Old 06-07-2011
Mine is pretty when I write it; sometimes, an editor forces a style on me. My style is very line oriented, for good diff: one predicate per line, one assign per line, one declaration per line, sometimes, one argument a line. Silly lines like for { I merge. Indentation is logical, except sometime I put long data lines (long strings) at 0 offset. Good luck!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

all the pretty scripts gone...gone...

I managed to delete my first shell script which was a menu that called functions. I made it all real nice and it ran like a winner. I was so pleased with it I wanted to print it out and look it over, over lunch. Well, lets just say Im better at scripting than just regular commands coz I deleted... (2 Replies)
Discussion started by: michelle
2 Replies

2. UNIX for Dummies Questions & Answers

HELP ASAP.. pretty simple..

Hey guys.... couple questions... I am working a problem set and can't answer this: 1) Suppose you are in a directory that contains a file called "foo." You want to create a new file called "bar" that contains the sorted contents of "foo" in the parent directory of the one you're in. How... (8 Replies)
Discussion started by: ugakid
8 Replies

3. Programming

I am pretty new to this

Ok, so I need to make a program using PICO. Here is the assignment, if anyone knows how to do this please show me. Thanks. Acme Paints, a well-respected local paint store, is having their big End-Of-Winter Paint Sale. They have way too much red, green, yellow, and blue paint on hand in their... (1 Reply)
Discussion started by: thescene
1 Replies

4. Shell Programming and Scripting

Need assistance with simple shell script to organize files. [Code attached]

I need some help with this shell script for class. All it does is organize your files. It works, but in the log file, it needs to show the new filepaths of the moved files. Heres my log of my output: Starting to organize... movie2.wmv --> movie3.mov --> movie1.mpg --> song1.mp3 --> ... (3 Replies)
Discussion started by: ryandamartini
3 Replies

5. Shell Programming and Scripting

Organize of Data

Hello Expert, I am new in awk. I would like to know how to arrange data like Input File: lpar1 1 2 3 4 5 6 lpar10 4 5 6 lpar3 4 5 (3 Replies)
Discussion started by: shah09
3 Replies

6. Shell Programming and Scripting

need help for a script to organize data

Hey all, I have a file with info like this 12:05:44 DEV001 (15F6) 71 5 1372 131 58 100 6 0 17 DEV002 (15FA) 60 0 928 15 50 N/A 2 N/A 5 DEV003 (15FE) 77 2 961 59 51 100 1 0 2... (2 Replies)
Discussion started by: leo.maveriick
2 Replies

7. Shell Programming and Scripting

Organize file according to their extension

Hi Everyone ! i want to make an application which is written in shell script and in Bourne shell (sh) i want, when my script is executed, it read all the files in the directly and move them to folders according to their extension. suppose i have a files: test.txt test.jpg test.docx... (1 Reply)
Discussion started by: me_newbie
1 Replies

8. Shell Programming and Scripting

Is there a way to organize bash_profile across different platforms

I want to have one .bash_profile works on multiple platform, ubuntu, debian, redhat, cygwin, osx. So how should I organize .bash_profile? It can be multiple files in some subdir Let me brief you: what i want is a way to organize bash_profile across platforms so I can use one set of profiles... (2 Replies)
Discussion started by: John_Peter
2 Replies

9. What is on Your Mind?

Pretty kool datacentre

Hi All, Just seen this news article on the BBC website. Microsoft sinks data centre off Orkney - BBC News Instead of investing in new cooler processor technology they decide to warm the ocean with the old. Okay, it's just an experiment. Interesting? (2 Replies)
Discussion started by: hicksd8
2 Replies

10. Shell Programming and Scripting

Organize output with awk

Hello, maybe someone could help me with this. I'm trying to print in a more ordered way this input. the input file is: AB XY UT ZW PRAT 0 3 4 7214800 93 0 3 4 730770 ... (8 Replies)
Discussion started by: Ophiuchus
8 Replies
QUICKBOOK(1)							   User Commands						      QUICKBOOK(1)

NAME
Quickbook - WikiWiki style documentation tool geared towards C++ documentation DESCRIPTION
QuickBook is a WikiWiki style documentation tool geared towards C++ documentation using simple rules and markup for simple formatting tasks. QuickBook extends the WikiWiki concept. Like the WikiWiki, QuickBook documents are simple text files. A single QuickBook document can generate a fully linked set of nice HTML and PostScript/PDF documents complete with images and syntax- colorized source code. Features include: * generate BoostBook xml, to generate HTML, PostScript and PDF * simple markup to link to Doxygen-generated entities * macro system for simple text substitution * simple markup for italics, bold, preformatted, blurbs, code samples, tables, URLs, anchors, images, etc. * automatic syntax coloring of code samples * CSS support Allowed options: --help produce help message --version print version string --no-pretty-print disable XML pretty printing --indent arg indent spaces --linewidth arg line width --input-file arg input file --output-file arg output file --debug debug mode (for developers) --ms-errors use Microsoft Visual Studio style error & warn message format -I [ --include-path ] arg include path SEE ALSO
The full documentation for Quickbook is maintained in HTML; see /usr/share/doc/libboostX.Y-doc/HTML/doc/html/quickbook.html Quickbook Version 1.4 July 2009 QUICKBOOK(1)
All times are GMT -4. The time now is 12:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy