diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 1999-01-19 03:05:44 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1999-01-19 03:05:44 +0000 |
| commit | c5ab5a1e9bc901386593eb2e11580fc120fa77f9 (patch) | |
| tree | d4333d856455d0d5daa9172302fda73cd9293179 | |
| parent | eb99f9619ef76bb105a8d698fb210354da235505 (diff) | |
Notes
| -rw-r--r-- | FAQ/admin.sgml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/FAQ/admin.sgml b/FAQ/admin.sgml index 61ee2840c4..df5a6eee69 100644 --- a/FAQ/admin.sgml +++ b/FAQ/admin.sgml @@ -1,4 +1,4 @@ -<!-- $Id: admin.sgml,v 1.13 1999-01-12 00:49:15 wosch Exp $ --> +<!-- $Id: admin.sgml,v 1.14 1999-01-19 03:05:44 jkoshy Exp $ --> <!-- The FreeBSD Documentation Project --> <sect> @@ -835,6 +835,17 @@ perl -i.bak -pe 's/\r\n/\n/g' file ... <p>file is the file(s) to process. The modification is done in-place, with the original file stored with a .bak extension. + <p>Alternatively you can use the <url url="/cgi/man.cgi?tr" + name="tr(1)"> command: + +<verb> +tr -d '\r' < dos-text-file > unix-file +</verb> + + <p>dos-text-file is the file containing DOS text while + unix-file will contain the converted output. This can + be quite a bit faster than using perl. + <sect1> <heading>How do I kill processes by name?</heading> |
