Sponsored Content
Top Forums Shell Programming and Scripting In awk: unexpected EOF while looking for matching `"' Post 302810619 by vidyadhar85 on Wednesday 22nd of May 2013 07:54:12 AM
Old 05-22-2013
are you trying below?
Code:
 
 
HOME>cat v
DEPLOYMENT="abc" # com
cluster="bcn"
HOME>a="awk -F\"\\\"\" '/DEPLOYMENT/{print \$2}' v"
HOME>eval $a
abc
HOME>

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

unexpected EOF

I ran the following scripts and everytime i get the errot as follows Line 54: unexpected EOF while looking for matching ',' line 57 syntex error unexpected end of file#!/bin/ksh set -x BKUP_DIR=/u03/backups/abu/nightly_backup LOG_FILE=/u03/backups/abu/backup.log ORACLE_HOME=... (9 Replies)
Discussion started by: manna
9 Replies

2. Shell Programming and Scripting

"unexpected end of file" when I´m use EOF inside block if

I have a trouble in my script when i use EOF inside block if. If i use EOF whitout block if I don´t have problem. Guys any ideas? Sorry for my terrible English. #!/bin/sh set -xv HOST='ftp.fiction.com.br' USER='fictionuser' PASS='fictionpass' FILE='ftpteste.txt' busca=`find... (4 Replies)
Discussion started by: ricardo.ludwig
4 Replies

3. Shell Programming and Scripting

Unexpected EOF while looking for matching `"'

Hi everyone, I am trying to search for a string in a file that is partly made up of a variable. Here's the code: echo "parentCategory = $parentCategory" echo "parentCategoryFormatted = $parentCategoryFormatted" numUrlsFoundInParentCategory=`grep -c "<Topic r:id=\"Top\/World\/Français\/"... (2 Replies)
Discussion started by: BlueberryPickle
2 Replies

4. Shell Programming and Scripting

line 85: unexpected EOF while looking for matching `"'

hello everyone...im having this problem with unexpected EOF with line 85 which is..i cant see whats wrong with it..can any1 plz help me out. read -p "$p1 please enter the number of tries you wish to have:" lifeline function main() { guessnum=0 read -p "Please... (6 Replies)
Discussion started by: Freakhan
6 Replies

5. Shell Programming and Scripting

eof unexpected while looking[...]

Hello I use opensuse build service to build packages (oh surprise !) I have integrate a command in a spec whose worked and now this exit with: unexpected EOF while looking for matching `"' Command: if \.").mk ]; then ln -s $(pwd)/mozilla/security/coreconf/Linux2.6.mk \ ... (5 Replies)
Discussion started by: posophe
5 Replies

6. Shell Programming and Scripting

Unexpected EOF while looking for matching `"'

I have a piece of Linux script. It tells me some syntax error. I couldn't find it. Please help me to identify them. Thanks. The code looks like this: export ORACLE_SID=MYDB export SPW=`cat /opt/oracle/scripts/.sys_pw_$ORACLE_SID` export check_arch=`sqlplus -s << EOF / as sysdba... (7 Replies)
Discussion started by: duke0001
7 Replies

7. Shell Programming and Scripting

Help to resolve unexpected EOF while looking for matching `"' error

Hi, can someone kindly look into my copy script and figure out why am i getting a "unexpected EOF while looking for matching `"' error message #!/bin/ksh -x cd /home/goldenga/test/flag37 if ; then rm copied.ok cd /home/goldenga/test Upper=`ls -t|grep 'qw*'|cut -d "w" -f 2|head... (4 Replies)
Discussion started by: NDalal007
4 Replies

8. Shell Programming and Scripting

Unexpected EOF while loooking for matching '"

Hi everyone, I'm really new in shell scripting and having trouble resolving this error. Can someone please tell me why I'm getting these errors? Error Message: ./test.sh: line 50: unexpected EOF while looking for matching `'' ./test.sh: line 53: syntax error: unexpected end of file ... (4 Replies)
Discussion started by: simonirang
4 Replies

9. Shell Programming and Scripting

Unexpected EOF while looking for matching `'' when ran from a cron job

Since cPanel does not support deleting emails older then X amount of days I am using the following on a Cron Job. find -P /home/user/mail/domain/ -mindepth 2 -mtime '+366' -type f -printf '"%p"\n' | grep -v '/Important' | grep -v '/.Important' | xargs -I {} rm -r "{}" Executing it via SSH... (4 Replies)
Discussion started by: tiagom
4 Replies

10. SCO

"Unexpected EOF within #IF, #ifdef or #ifndef" error when rebuilding / relinking SCO OpenServer 5

Hi, I am a new Unix Guru with very little experience but have the task of P2Ving an old HP Proliant ML370 G5 server to VMware ESX 4.1 or ESXi 5.5. System seems to boots fine but when trying to remove HP software, configure TCP/IP or a driver, I am receiving: -------- ... (7 Replies)
Discussion started by: dj_Italian
7 Replies
WEECHAT(1)						      General Commands Manual							WEECHAT(1)

NAME
weechat-curses - Wee Enhanced Environment for Chat (Curses version) SYNOPSIS
weechat-curses [option...] [plugin:option...] DESCRIPTION
Fast, light and extensible chat client for many operating systems. Everything can be done with a keyboard. It is customizable and extensible with scripts. It is compliant with IRC RFCs 1459, 2810, 2811, 2812, and 2813. OPTIONS
-a, --no-connect disable auto-connect to servers at startup -c, --colors display default colors in terminal -d, --dir <dir> set WeeChat home dir -h, --help display summary of options -k, --keys display default keys -l, --license display program license -p, --no-plugin don't load any plugin at startup -s, --no-script don't load any script at startup -v, --version display WeeChat version PLUGIN OPTIONS
Options for plugins depend on plugins, you can look at plugins documentation on WeeChat website for more information. For example, with irc plugin, you can connect to temporary server with an url like: irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]] To join WeeChat IRC channel support with nick "mynick": irc://mynick@irc.freenode.net/#weechat IPv6 address can be enclosed in brackets to add a port after address, for example: irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test FILES
$HOME/.weechat/weechat.conf main WeeChat configuration file $HOME/.weechat/plugins.conf plugins configuration file $HOME/.weechat/alias.conf configuration file for alias plugin $HOME/.weechat/aspell.conf configuration file for aspell plugin $HOME/.weechat/charset.conf configuration file for charset plugin $HOME/.weechat/irc.conf configuration file for IRC plugin $HOME/.weechat/logger.conf configuration file for logger plugin $HOME/.weechat/relay.conf configuration file for relay plugin $HOME/.weechat/rmodifier.conf configuration file for rmodifier plugin $HOME/.weechat/xfer.conf configuration file for xfer plugin $HOME/.weechat/weechat.log WeeChat log file LICENSE
Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org> WeeChat is distributed under the GNU General Public License, version 3. Please read the COPYING file for more information. BUGS
Please report bugs or feature requests at Savannah website: - Bugs: http://savannah.nongnu.org/bugs/?group=weechat - Feature requests: http://savannah.nongnu.org/task/?group=weechat AUTHOR
WeeChat is written by Sebastien Helleu <flashcode@flashtux.org> Web: http://www.weechat.org/ Sebastien Helleu June 2012 WEECHAT(1)
All times are GMT -4. The time now is 06:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy