FOLD(1) General Commands Manual FOLD(1)NAME
fold - fold long lines for finite width output device
fold [ -width ] [ file ... ]
Fold is a filter which will fold the contents of the specified files, or the standard input if no files are specified, breaking the lines
to have maximum width width. The default for width is 80. Width should be a multiple of 8 if tabs are present, or the tabs should be
expanded using expand(1) before coming to fold.
SEE ALSO expand(1)BUGS
If underlining is present it may be messed up by folding.
3rd Berkeley Distribution April 29, 1985 FOLD(1)
Check Out this Related Man Page
FOLD(1) User Commands FOLD(1)NAME
fold - wrap each input line to fit in specified width
fold [OPTION]... [FILE]...
Wrap input lines in each FILE (standard input by default), writing to standard output.
Mandatory arguments to long options are mandatory for short options too.
count bytes rather than columns
break at spaces
use WIDTH columns instead of 80
--help display this help and exit
output version information and exit
Written by David MacKenzie.
Report fold bugs to firstname.lastname@example.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report fold translation bugs to <http://translationproject.org/team/>
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.
The full documentation for fold is maintained as a Texinfo manual. If the info and fold programs are properly installed at your site, the
info coreutils 'fold invocation'
should give you access to the complete manual.
GNU coreutils 8.5 February 2011 FOLD(1)
Hi Gurus, Experts,
I am facing a problem to concatenate all the files based on timeStamps.
The Problem is like this .
The are many files in a folder Which are of the below types
Ack_to_MDS_20070809141155.xml... (19 Replies)
Hello Unix gurus,
I am new to Unix. I am working on some dummy project which involves unix scripting.
I have a query :
There is a file Number.dat which is of form say
Here AAA,BBB are... (29 Replies)
I do not know much about shell scripting so I am at a loss here. If someone can help me, that would be great!
I have two directories
I need to delete all files from /dir1 and that does not have a correspondent file in /dir2. It should NOT check file suffixes in /dir2 . Why?... (20 Replies)
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
I need to cut single record in the file(asdf) to multile records based on the number of bytes..(44 characters). So every record will have 44 characters. All the records should be in the same file..to each of these lines I need to add the folder(<date>) name.
I have a dir. in which... (20 Replies)
I have a requirement to monitor the sub-directories under /home in a way that if the the folder size increases by 30 GB in a span of like an hour then it needs to send email alerts listing what as the actual size was and what's the current size which the subject listing the sub-directory... (25 Replies)
I'm looking for a script that sums the contents of a folder,
When you give a parameter to the script , i want to know the size of the directory, the number of files, number of folders,
These are commands that I have already found
find . -type f | wc -l
find . -type d | wc -ly
... (19 Replies)
I am having two folders where i need to compare the content of files and also to know if any new files been added and redirect the difference output in respective filename logs. For e.g.:
i Need to compare the directories... (25 Replies)
i attach a link with what im trying to do automatically via script but i have some questions i need answering please, bear in mind i am really new to bash scripting, the only thing i know how to do is commands in scripts like cd rm tar rsync cp stuff like that
i have mutiple project... (48 Replies)
I have 3 servers, rx2600, rx2600, and rx2660.
I have another x86 server running on Suse, and create a shared folder named /public
From 1 of the rx2600 server I can mount that shared folder :
intaqa:/>mount 10.1.2.82:/public /bkup
But from 2 others server I... (29 Replies)
I can not understand why this little script with a loop processes only one file.
At boot in /etc/rc.local i wrote:
This is myscript:
while inotifywait -e create /HOTFOLDER/ ; do
for fullname in /HOTFOLDER/*.xlsx; do
if !... (22 Replies)