Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

expand(1) [linux man page]

EXPAND(1)							   User Commands							 EXPAND(1)

NAME
expand - convert tabs to spaces SYNOPSIS
expand [OPTION]... [FILE]... DESCRIPTION
Convert tabs in each FILE to spaces, writing to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -i, --initial do not convert tabs after non blanks -t, --tabs=NUMBER have tabs NUMBER characters apart, not 8 -t, --tabs=LIST use comma separated list of explicit tab positions --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report expand bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report expand translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
unexpand(1) The full documentation for expand is maintained as a Texinfo manual. If the info and expand programs are properly installed at your site, the command info coreutils 'expand invocation' should give you access to the complete manual. GNU coreutils 8.5 February 2011 EXPAND(1)

Check Out this Related Man Page

EXPAND(1)							   User Commands							 EXPAND(1)

NAME
expand - convert tabs to spaces SYNOPSIS
expand [OPTION]... [FILE]... DESCRIPTION
Convert tabs in each FILE to spaces, writing to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -i, --initial do not convert tabs after non blanks -t, --tabs=NUMBER have tabs NUMBER characters apart, not 8 -t, --tabs=LIST use comma separated list of explicit tab positions --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report expand bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report expand translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
unexpand(1) The full documentation for expand is maintained as a Texinfo manual. If the info and expand programs are properly installed at your site, the command info coreutils 'expand invocation' should give you access to the complete manual. GNU coreutils 8.12.197-032bb September 2011 EXPAND(1)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

using expand on multiple files

I want to convert all leading tabs to spaces in all PHP files in a certain folder, recursively. I have successfully used "expand" to do this on one file at a time by doing something like this: expand -i file.php > file.php How would I convert all leading tabs to spaces in all PHP... (4 Replies)
Discussion started by: mattalexx
4 Replies

2. Shell Programming and Scripting

can v add 'n' of spaces by a single command?

Hi All, I just need to check for 'tabs' in my input file and need to replace all tabs into 'n' no. of spaces. Say for example if I give NO_OF_SPACE=5, then it should replace all tabs with 5 spaces abc.in ##### asdasdasd \t\t\tasjkalskdl;asdsdjfksldfjklsdfxcmxm,cv... (2 Replies)
Discussion started by: askumarece
2 Replies

3. What is on Your Mind?

looking to expand skillset to the next level

Hi, This forum is great, I lurk here a lot and use a lot of what is posted here to help expand my skills. I have taken zero computer courses my entire life and for the most part and self taught. I am a Systems Administrator for a public school system that runs a 1:1 (6,000 Macbooks, 2,000+ Mac... (0 Replies)
Discussion started by: tlarkin
0 Replies