what can I use ??
In vi, I can use :set list <-- and see end of line $.. or use cat -A but I am wondering if there is command or program that allows me to see all the hidden characters( space, tab and etc)
Please help
thanks. (3 Replies)
cat file1|while read i
do
echo "$i"|wc
done
with this command the space in the end of the line not considered
how can solve that
for example:
read h
"hgyr "
echo "$h"|wc
4 (2 Replies)
Hi, I am working on transforming html code text into the .vert text format. I want to use linux utility sed. I have this regexp which should do the work: s/ \(?!*>\)/\n/g. I use it like this with sed: echo "you <we try> there" | sed 's/ \(?!*>\)/\n/g' ... The demanded output should be:
you
<we... (5 Replies)
Im trying to add 5 blank spaces to the end of each line in a file in a sed script. I can figure out who o put the spaces pretty much anywhere else but at the end.
thanks
Karl (7 Replies)
please help in making sed singleline command
i need to insert dos new line (CR LF) before
" 34 matching device(s) found on \\cpu1."
" 6 matching device(s) found on \\cpu7."
" 102 matching device(s) found on \\mainserver."
the problem is that sometimes there are both CR LF before strings and... (1 Reply)
for eg:
i have i/p file as:
================
i
wnt
to
change end of line
=================
my require ouput is like:
i wnt to change end of line
==================== (7 Replies)
I have the following line an in input file I want to digest with sed and simple replace the bold part with a variable defined in my bash script. I can do this in several sed operations but I know there must be a way to do it in a single sed line. What is the syntax?
Line in file:... (1 Reply)
hi I am trying to use SED to replace the line matching a pattern using the command
sed 'pattern c\
new line
' <file1 >file 2
I got two questions
1. how do I insert a blank space at the beginning of new line?
2. how do I use this command to execute multiple command using the -e... (5 Replies)
Discussion started by: piynik
5 Replies
LEARN ABOUT SUSE
famd
FAMD(8) SGI FAMD(8)NAME
famd - The File Alteration Monitor (FAM) daemon
SYNOPSIS
famd [-CdflLv] [-C conffile] [-p prog.vers] [-t period] [-T timeout]
DESCRIPTION
FAM, the File Alteration Monitor, is a subsystem that applications can use to be notified when specific files or directories are changed.
It is intended as a replacement for mechanisms such as poll and select.
FAM comes in two parts: famd, the daemon that listens for requests and provides notifications, and libfam a library that client applica-
tions can use to communicate with FAM. For further information on libfam, see the fam(3) manual page.
famd is normally started by an Internet superserver such as inetd or xinetd, but can also be started independently. Only one instance of
famd can be run at a time.
famd can be configured by editing the famd configuration file (see fam.conf(5) for further details) or by providing the following command
line options:
OPTIONS -c conffile
Read configuration information from conffile.
-C Run in backwards compatibilty mode. This is disables authentication and is not recommended.
-f Run in the foreground.
-v Enable verbose messages.
-d Enable verbose messages and debug messages.
-l Disable polling of files on remote NFS servers.
-L Only accept connections from local clients.
-p prog.vers
Register with the portmapper using the specifed RPC program and version numbers.
-t period
Poll a remove NFS server every period seconds to obtain file updates if the remove server is not running famd.
-T timeout
Exit timeout seconds after the last client disconnects. A value of 0 causes famd to run forever.
SECURITY
famd never opens the files it's monitoring, and only monitors files that the client can stat.
FILES
/etc/fam.conf
Default famd configuration file.
SEE ALSO fam(3), fam.conf(5), inetd(8), portmap(8), stat(1), xinetd(8)BUGS famd (fam 2.6.10) January 19, 2003 FAMD(8)