Sponsored Content
Top Forums Shell Programming and Scripting Python indent - how do you do it? Post 302842857 by sas on Saturday 10th of August 2013 07:03:41 PM
Old 08-10-2013
Thanks folks for the chat re your practice! I'm glad to hear there isn't some unwritten rule that it's X way or the highway!

Think since I'm a big sas and sql guy, I'll stick with tab. Glad I won't be some python-outlaw or whatnot using tabSmilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Auto indent in vi

Hi, I use vi for my text editing. Is there a way to use smart indentation? that is when adding a '{' or '}' that the editor will jump and advance, or any other thing like that? thanks (1 Reply)
Discussion started by: sierra_aar
1 Replies

2. UNIX for Dummies Questions & Answers

vim indent

I know this is not a unix question but I also know that many of you use vim editor every day. So hoping to get some help, here it goes: How can I change my vim config file so that the indentations while c programming take 4 spaces instead of 8? I want the change to apply any further uses of... (4 Replies)
Discussion started by: Virtuosso
4 Replies

3. UNIX for Dummies Questions & Answers

[non-important] Indent here-docs?

I recently coded a typical ftp script looking like ftp -n $hostname << user $user $pass <commands..> quit ! I know the code fails when you try to indent it like: ftp $hostname << user $user $pass <commands..> quit ! Just for the sake of neat code, is there a... (4 Replies)
Discussion started by: yongho
4 Replies

4. UNIX for Dummies Questions & Answers

vi auto indent whole file at once

Hi, I'm working on a big project and all the CPP and header files are in mess with respect to indentation. I would like to indent whole file(s) at once (like ctrl-shift-f in eclipse). Is there anybody who knows how to do that in vi/vim? thanks (2 Replies)
Discussion started by: SaTYR
2 Replies

5. Shell Programming and Scripting

Print lines where there's no indent on the first field

Hi All, I need a code to print those lines where there's NO indents on the 1st field Example shown below. I tried to use the below codes but i am not able to see the expected result. Can any expert give any advise ? My Code cat filename| awk '$1 ~ /^+$/ {print $0}' Input 1199 ... (7 Replies)
Discussion started by: Raynon
7 Replies

6. Shell Programming and Scripting

How to indent the file lines using vi?

Every now and then I have to indent the lines in my script to 4 space characters. I generally do it line by line. Is there an automated command in vi using which I can indent some set of lines to desired number of space characters in one go. (2 Replies)
Discussion started by: paragkalra
2 Replies

7. Shell Programming and Scripting

awk to indent file outout

i have a file that contains information such as this: hostname.sky.net === 12.39.59.35 hostname.sky.net === 12.39.59.35 hostname.sky.net === 12.39.59.35 hostname-newyork.sky.net ==== 13.45.35.24 hostname-newyork.sky.net ==== 13.45.35.24... (3 Replies)
Discussion started by: SkySmart
3 Replies

8. Shell Programming and Scripting

Parse excel with indent

hello everyone how to parse excel file with indents ? i was trying perl and there is Spreadsheet::ParseExcel::Format but i have no idea how to make it work docs says $format->{Indent} but it's not working also i was trying xls2csv and xlhtml but they don't care about indents at all :( i... (1 Reply)
Discussion started by: tip78
1 Replies
FBB::Manipulators(3bobcat)                                         Manipulators                                         FBB::Manipulators(3bobcat)

NAME
FBB::Manipulators - Manipulators defined in the FBB namespace DESCRIPTION
Various manipulators are defined within the FBB namespace. This manual page provides an overview of the manipulators that are currently defined in the FBB namespace. MANIPULATORS
o FBB::center: defined in bobcat/align This manipulator can be specified when constructing an FBB::Align object to indicate that a table column should center its contents. o FBB::decindent: defined in bobcat/indent This manipulator reduces the indentation level. o FBB::def: defined in bobcat/table This manipulator `completes' a Table object to a full rectangular object. It can be inserted into a Table object. o FBB::err: defined in bobcat/msg Generates an error message. o FBB::fatal: defined in bobcat/msg Generates a fatal message, followed by an Errno(1) exception. o FBB::fs: defined in bobcat/tablebuf Starts the definition of the next element in a table. o FBB::info: defined in bobcat/msg Generates an informational message. o FBB::incindent: defined in bobcat/indent This manipulator will increment the indentation level. o FBB::indent: defined in bobcat/indent This manipulator inserts the currently defined number of indentation blanks into an ostream. o FBB::indentdec: defined in bobcat/indent This manipulator will insert, then reduce the indentation level. o FBB::indentinc: defined in bobcat/indent This manipulator will insert, then increment the indentation level. o FBB::lm: defined in bobcat/ofoldstreambuf This manipulator sets the left margin of FBB::OFoldStream objects. o FBB::mlm: defined in bobcat/ofoldstreambuf This manipulator modifies (alters) the left margin of FBB::OFoldStream objects. o FBB::nlindent: defined in bobcat/indent This manipulator will insert a newline, then indent. o FBB::rs: defined in bobcat/tablebuf Starts the definition of the next row in a table. o FBB::spool: defined in bobcat/msg Generates a (partial) informational message. o FBB::warning: defined in bobcat/msg Generates a warning message. SEE ALSO
bobcat(7), columnwidth(3bobcat), equalwidth(3bobcat), errno(3bobcat), indent(3bobcat), lm(3bobcat), mlm(3bobcat), msg(3bobcat), table(3bob- cat) BUGS
None Reported. DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature; o bobcat_3.01.00-x.tar.gz: source archive; o bobcat_3.01.00-x_i386.changes: change log; o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries; o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages; o http://sourceforge.net/projects/bobcat: public archive location; BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'. COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL). AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl). libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::Manipulators(3bobcat)
All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy