How do I use the grep command to take mutiple text files in a folder and make one huge text file out of them. I'm using Mac OS X and can not find a text tool that does it so I figured I'd resort to the BSD Unix CLI for a solution... there are 5,300 files that I want to write to one huge file so... (7 Replies)
Dear all,
I have a file which have let us say records from A-Z.
Now I want to remove multiple letter from this file using single command.. let us say I want to remove A,F,K,Y,U,P,B,S,D.
I can use grep -v command but for this case i need to rerun the file several time i wana avoid using... (3 Replies)
I am attempting to insert multiple lines of text into a specific place in a text file based on the lines above or below it.
For example, Here is a portion of a zone file.
IN NS ns1.domain.tld.
IN NS ns2.domain.tld.
IN ... (2 Replies)
Hello everyone,
I work under Ubuntu 11.10 (c-shell)
I need a script to create a new text file whose content is the text of another text files that are in the directory $DIRMAIL at this moment.
I will show you an example:
- On the one hand, there is a directory $DIRMAIL where there are... (1 Reply)
I would like to use grep to select multiple lines from a text file using a single-column text file. Basically I want to only select lines from the first text file where the second column of the first text file matches the second text file. How do I go about doing that? Thanks! (5 Replies)
Hello, I have a situation where I want to change a line of text in multiple files, but the problem is that I want to change the text to something unique for each file.
For example, let's say I have five files named bob.txt, joe.txt, john.txt, tom.txt, and zach.txt. Each of these files has a... (5 Replies)
I have a text file with entries like
1186
5556
90844
7873
7722
12
7890.6
78.52
6679
3455
9867
1127
5642
..N so many records like this.
I want to split this file into multiple files like cluster1.txt, cluster2.txt, cluster3.txt, ..... clusterN.txt. (4 Replies)
I have a directory having a number of pdf files.
I want to convert all the files to text, stored in a single text file
The following creates multiple text files
ls *.pdf | xargs -n1 pdftotext (1 Reply)
Hello ,
Can anyone please help me to solve the below -
Input.txt
source table abc
col1 char
col2 number
source table bcd
col1 date
col2 char
output should be 2 files based on the row separator "source table"
abc.txt
col1 char (6 Replies)
hi all,
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
file1.txt
abc12345
def12345
ghi54321
...
file2.txt
abc1,text1,texta
abc,text2,textb
def123,text3,textc
gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
LEARN ABOUT SUSE
pilot-memos
pilot-memos(1) PILOT-LINK pilot-memos(1)NAME
pilot-memos - Manipulate Memo entries from a file or your Palm device.
SECTION
pilot-link: Userland conduits
SYNOPSIS
pilot-memos [-p|--port <port>] [-q|--quiet] [--version] [-?|--help] [--usage] [-v|--verbose] [-d|--delete] [-f|--file file] [-s|--save
dir] [-c|--category STRING] [-r|--regex STRING]
DESCRIPTION
By default, the contents of your Palm's memo database will be written to standard output as a standard UNIX mailbox (mbox-format) file,
with each memo as a separate message. The subject of each message will be the category.
If '-s' is specified, then instead of being written to standard output, memos will be saved in subdirectories of dir. Each subdirectory
will be the name of a category on the Palm, and will contain the memos in that category. Each filename will be the first line (up to the
first 40 characters) of the memo. Control characters, slashes, and equal signs that would otherwise appear in filenames are converted after
the fashion of MIME's quoted-printable encoding. Note that if you have two memos in the same category whose first lines are identical, one
of them will be overwritten.
If '-f' is specified, the specified file will be treated as a memo database from which to read memos, rather than HotSyncing from the Palm.
OPTIONS
pilot-memos options
-V, --verbose
Verbose, with -s, print each filename when written to disk.
-d,
--delete NUMBER
Delete memo named by number num.
-f,
--file file.
Use <file> as input file (instead of MemoDB.pdb).
-s,
--save dir.
Save memos in dir instead of writing to STDOUT.
-c,
--category cat.
Only create memos in this category.
-r,
--regex regex.
Select memos saved by regular expression on the title.
Conduit Options
-p, --port <port>
Use device file <port> to communicate with the Palm handheld. If this is not specified, pilot-memos will look for the $PILOTPORT environ-
ment variable. If neither are found or supplied, pilot-memos will print the usage information.
-q,
--quiet
Suppress 'Hit HotSync button' message
-v, --version
Display version of pilot-memos and exit without connecting.
Help Options
-h, --help
Display the help synopsis for pilot-memos and exit without connecting.
--usage
Display a brief usage message and exit without connecting.
AUTHOR
pilot-memos was originally written by Kenneth Albanowski.
This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk>
REPORTING BUGS
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are
resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to
http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there.
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
SEE ALSO
install-memo (1), pilot-link(7).
0.12.5 Copyright 1996-2007 FSF pilot-memos(1)