Sponsored Content
Top Forums Shell Programming and Scripting Find every alternate word in a csv Post 302926218 by ctrld on Friday 21st of November 2014 09:32:31 PM
Old 11-21-2014
Thanks so much for taking the time to help me.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Write a shell program to find the sum of alternate digits in a given 5-digit number

Hi Can any one please post the answer for the above program.................. (4 Replies)
Discussion started by: banta
4 Replies

2. Shell Programming and Scripting

find a word in a file, and change a word beneath it ??

Hi all, I have a file with lines written somewhat like this. aaaa ccc aa linux browse = no xssxw cdcedc dcsdcd csdw police dwed dwd browse = no cdecec (2 Replies)
Discussion started by: vikas027
2 Replies

3. Shell Programming and Scripting

How to replace word in CSV

Hi, Can someone please help? I am using Sun OS unix: 1. read a CSV file, port.csv 2. find out all lines which has word "Documentation"..as I only need to change on those lines which has word, "Documentation" 3. then for each found line, I have to read the 9th element, which always has the... (4 Replies)
Discussion started by: kinmak
4 Replies

4. Shell Programming and Scripting

Find and replace a word in all the files (that contain the word) under a directory

Hi Everyone, I am looking for a simple way for replacing all the files under a directory that use the server "xsgd1234dap" with "xsdr3423pap". For Example: In the Directory, $pwd /home/nick $ grep -l "xsgd1234dap" *.sh | wc -l 119 I have "119" files that are still using... (5 Replies)
Discussion started by: filter
5 Replies

5. UNIX for Dummies Questions & Answers

Find EXACT word in files, just the word: no prefix, no suffix, no 'similar', just the word

I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL. I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies

6. Shell Programming and Scripting

perl lwp find word and print next word :)

hi all, I'm new there, I'm just playing with perl and lwp and I just successfully created a script for log in to a web site with post. I have a response but I would like to have something like this: I have in my response lines like: <div class="sender">mimi020</div> <some html code.....>... (3 Replies)
Discussion started by: vogueestylee
3 Replies

7. UNIX for Dummies Questions & Answers

Word Wrap .CSV Fils

Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies

8. Shell Programming and Scripting

Shell Script @ Find a key word and If the key word matches then replace next 7 lines only

Hi All, I have a XML file which is looks like as below. <<please see the attachment >> <?xml version="1.0" encoding="UTF-8"?> <esites> <esite> <name>XXX.com</name> <storeId>10001</storeId> <module> ... (4 Replies)
Discussion started by: Rajeev_hbk
4 Replies

9. Shell Programming and Scripting

Find word in a line and output in which line the word occurs / no. of times it occurred

I have a file: file.txt, which contains the following data in it. This is a file, my name is Karl, what is this process, karl is karl junior, file is a test file, file's name is file.txt My name is not Karl, my name is Karl Joey What is your name? Do you know your name and... (3 Replies)
Discussion started by: anuragpgtgerman
3 Replies

10. Shell Programming and Scripting

Find a word and increment the number in the word & save into new files

Hi All, I am looking for a perl/awk/sed command to auto-increment the numbers line in file, P1.tcl: run_build_model sparc_ifu_dec run_drc set_faults -model path_delay -atpg_effectiveness -fault_coverage add_delay_paths P1 set_atpg -abort_limit 1000 run_atpg -ndetects 1000 I would like... (6 Replies)
Discussion started by: jypark22
6 Replies
DROP 
OPERATOR(7) SQL Commands DROP OPERATOR(7) NAME
DROP OPERATOR - remove a user-defined operator SYNOPSIS
DROP OPERATOR id ( lefttype | NONE , righttype | NONE ) [ CASCADE | RESTRICT ] INPUTS id The identifier (optionally schema-qualified) of an existing operator. lefttype The type of the operator's left argument; write NONE if the operator has no left argument. righttype The type of the operator's right argument; write NONE if the operator has no right argument. CASCADE Automatically drop objects that depend on the operator. RESTRICT Refuse to drop the operator if there are any dependent objects. This is the default. OUTPUTS DROP OPERATOR The message returned if the command is successful. ERROR: RemoveOperator: binary operator 'oper' taking 'lefttype' and 'righttype' does not exist This message occurs if the specified binary operator does not exist. ERROR: RemoveOperator: left unary operator 'oper' taking 'lefttype' does not exist This message occurs if the left unary operator specified does not exist. ERROR: RemoveOperator: right unary operator 'oper' taking 'righttype' does not exist This message occurs if the right unary operator specified does not exist. DESCRIPTION
DROP OPERATOR drops an existing operator from the database. To execute this command you must be the owner of the operator. The left or right type of a left or right unary operator, respectively, must be specified as NONE. NOTES The DROP OPERATOR statement is a PostgreSQL language extension. Refer to CREATE OPERATOR [create_operator(7)] for information on how to create operators. USAGE
Remove power operator a^n for int4: DROP OPERATOR ^ (int4, int4); Remove left unary negation operator (! b) for boolean: DROP OPERATOR ! (none, bool); Remove right unary factorial operator (i !) for int4: DROP OPERATOR ! (int4, none); COMPATIBILITY
SQL92 There is no DROP OPERATOR in SQL92. SQL - Language Statements 2002-11-22 DROP OPERATOR(7)
All times are GMT -4. The time now is 03:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy