02-12-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Is it possible to do the following in a single command
/usr/xpg4/bin/sed -e '/rows selected/d' /aemu/CALLAUTO/callauto.txt > /aemu/CALLAUTO/callautonew.txt
/usr/xpg4/bin/sed -e '/^$/d' /aemu/CALLAUTO/callautonew.txt > /aemu/CALLAUTO/callauto_new.txt
exit (1 Reply)
Discussion started by: aemunathan
1 Replies
2. Shell Programming and Scripting
Hi !!!
I need to write a script(ksh) that deletes any character outside <start> tag and </start> from a file.
For eg:
$cat file.txt
<start>
ad
bd
</start>
as</start>
<start>
d
e
f
mb<start>mu
g
h
i (7 Replies)
Discussion started by: PRKS
7 Replies
3. Shell Programming and Scripting
Hello folks, I have a simple request but I can't find a simple solution.
Hare is my problem. I have some dates, I need to replace months with only the first 3 characters (jan for january, feb for february, ... all in lower case)
~$ echo '3 october 2010' | sed
3 oct 2010I thought of something... (8 Replies)
Discussion started by: tukuyomi
8 Replies
4. Shell Programming and Scripting
Guys,
Here is the txt file...
SLIC N0SLU704034789 rŒ° EJ00 ó<NL DMRG>11 100 4B 2
SLIC N0SLU704034789 rΡ TJ10 <4000><NL> 2
SLIC N0SLU704034789 ... (2 Replies)
Discussion started by: gowrishankar05
2 Replies
5. UNIX for Dummies Questions & Answers
Morning Guys & Gals,
I am trying to figure out a way to remove lines from a file that have more than
2 identical characters in sequence..
So if for instance the list would look like ;
the output would be ;
I can't seem to get my head around perl (among many other... (7 Replies)
Discussion started by: TAPE
7 Replies
6. UNIX for Dummies Questions & Answers
I have a file that looks some like this:
I need to delete most of the information and sort the rest in such way that I get the following output file
Any help will be greatly appreciated (3 Replies)
Discussion started by: Xterra
3 Replies
7. Shell Programming and Scripting
I have file like below
Hi iam author <br>joseph</br> in france.
I live in my home <br></br> but no food.
I will play footbal <br></br> but i wont play cricket.
I will read all the books <br>all fiction stories</br> i hate horror stories.
I want output like below
Hi iam author... (3 Replies)
Discussion started by: vinothsekark
3 Replies
8. UNIX for Dummies Questions & Answers
Hi there, newbie there. I've been browsing the forums hoping to find a solution that answers a problem similar to what I need, but haven't had much luck. Any help would be greatly appreciated. Thanks!
I need to delete a bunch of text between every appearance of two words in a really large file... (3 Replies)
Discussion started by: lendl
3 Replies
9. Shell Programming and Scripting
There are multiple conditions in which the user can input data.
1. >
2. del
3. ins
4. delins
The user input is saved in a specific directory using the code below:
Code:
cd 'C:'
C:/Users/cmccabe/Desktop/Python27/python.exe C:/Users/cmccabe/Desktop/Python27/run_batch_job.py... (12 Replies)
Discussion started by: cmccabe
12 Replies
10. Shell Programming and Scripting
Hello,
I have a list of words separated by spaces I am trying to delete from a text file, and I could not figure out what is the best way to do this.
what I tried (does not work) :
delete="password key number verify"
arr=($delete)
for i in arr
{
sed "s/\<${arr}\>]*//g" in.txt
}
>... (5 Replies)
Discussion started by: Hawk4520
5 Replies
LEARN ABOUT DEBIAN
gaelic
GAELIC(5) Linux Programmers Manual GAELIC(5)
NAME
gaelic - a list of Scots Gaelic words
DESCRIPTION
/usr/share/dict/gaelic is an ASCII file which contains an alphabetic list of words, one per line.
FILES
/etc/dictionaries-common/words is a symbolic link to a /usr/share/dict/<language> file. /usr/share/dict/words is a symbolic link to
/etc/dictionaries-common/words, and is the name by which other software should refer to the system word list. See select-default-
wordlist(8) for more information.
The directory /usr/share/dict can contain word lists for many languages, with name of the language in English, e.g., /usr/share/dict/french
and /usr/share/dict/danish contain respectively lists of French and Danish words if they exist. Such lists should be coded using the ISO
8859-1 character set encoding.
SEE ALSO
ispell(1), select-default-wordlist(8), and the Filesystem Hierarchy Standard.
HISTORY
The words lists are not specific, and may be generated from any number of sources.
The system word list used to be /usr/dict/words. For compatibility, software should check that location if /usr/share/dict/words does not
exist.
AUTHOR
Alastair McKinstry <mckinstry@computer.org>
Linux 20 July 2002 GAELIC(5)