Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Stripping double quotes from front and end of a line Post 302701145 by vx04 on Friday 14th of September 2012 07:36:22 PM
Old 09-14-2012
We are getting file from another team, so don't have control over the file.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Front end on Unix

Hi, I would like to develop a user interface on Solaris. Can anybody throw some light on currently available software utilities/ packages..? Thanks in Advance .. JS (4 Replies)
Discussion started by: shibz
4 Replies

2. UNIX for Dummies Questions & Answers

stripping last character from end of each line

Hi, sorry for being dumb but I have a file with a variable amount of records (day to day it differs) but is fixed at 80 characters wide. Unfortunately the 80th and last charachter in each line is a "^M" carriage return character which i want to get rid of. Is there a really easy command that i can... (6 Replies)
Discussion started by: hcclnoodles
6 Replies

3. Shell Programming and Scripting

Double quotes or single quotes when using ssh?

I'm not very familiar with the ssh command. When I tried to set a variable and then echo its value on a remote machine via ssh, I found a problem. For example, $ ITSME=itsme $ ssh xxx.xxxx.xxx.xxx "ITSME=itsyou; echo $ITSME" itsme $ ssh xxx.xxxx.xxx.xxx 'ITSME=itsyou; echo $ITSME' itsyou $... (3 Replies)
Discussion started by: password636
3 Replies

4. UNIX for Advanced & Expert Users

need to concatenate two lines if the line doesnt end with quotes

Hi I am getting a source file where the columns are seperated by comma and double Quotes Eg1 : "AAA","BBB","CCCC" in the same source file i am also getting few lines where my last columns double quotes are ending in its next line or the next next line Eg2: "AAA","BBB","CCC CC"... (9 Replies)
Discussion started by: laxmi131
9 Replies

5. Shell Programming and Scripting

Removal of new line character in double quotes

Hi, Could you please help me in removal of newline chracter present in between the double quotes and replacing it with space. For example ... Every field is wrapped with double quotes with comma delimiter, so I need to travese from first double quote occerence to till second double... (7 Replies)
Discussion started by: vsairam
7 Replies

6. UNIX for Dummies Questions & Answers

grep single quotes or double quotes

Unix superusers, I am new to unix but would like to learn more about grep. I am very familiar with regular expressions as i have used them for searching text files in windows based text editors. Since I am not very familiar with Unix, I dont understand when one should use GREP with the... (2 Replies)
Discussion started by: george_vandelet
2 Replies

7. Shell Programming and Scripting

Issue with Single Quotes and Double Quotes for prompt PS1

Hi, Trying to change the prompt. I have the following code. export PS1=' <${USER}@`hostname -s`>$ ' The hostname is not displayed <abc@`hostname -s`>$ uname -a AIX xyz 1 6 00F736154C00 <adcwl4h@`hostname -s`>$ If I use double quotes, then the hostname is printed properly but... (3 Replies)
Discussion started by: bobbygsk
3 Replies

8. Shell Programming and Scripting

Adding double quotes at the end of string

My input is this: Inputfile = file.txt needs to change to, Inputfile = file.txt" I have tried using: Inputfile = `echo ${Inputfile}"' doesn't work for me. Similarly how do I change it to all double quotes: Inputfile = "file.txt" (4 Replies)
Discussion started by: bvnprasad123
4 Replies

9. Shell Programming and Scripting

Replace Double quotes within double quotes in a column with space while loading a CSV file

Hi All, I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes. Sample Data : "221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Discussion started by: mlavanya
6 Replies
TEAMD(8)							    Team daemon 							  TEAMD(8)

NAME
teamd -- team network device control daemon SYNOPSIS
teamd -k [-p pid_file] [-g] teamd -e [-p pid_file] [-g] teamd -c config_text [-p pid_file] [-gdrD] [-Z address] teamd -f config_file [-p pid_file] [-gdrD] [-Z address] teamd -h|-V DESCRIPTION
teamd is a daemon to control a given team network device, during runtime, as a puppeteer controls a puppet. It uses libteam to communicate with the kernel team device instance via Netlink sockets. The behaviour depends on the selected runner and its configuration. This daemon is part of the libteam project. OPTIONS
-h, --help Print help text to console and exit. -V, --version Print version information to console and exit. -d, --daemonize Daemonize after startup. -k, --kill Kill running daemon instance. -e, --check Return 0 if a daemon is already running. -f filename, --config-file filename Load the specified configuration file. -c text, --config text Use given JSON format configuration string. If this option is present then -f option will be ignored. -p filename, --pid-file filename Use the specified PID file. -g, --debug Turns on debugging messages. Repeating the option increases verbosity. -r, --force-recreate Force team device recreation in case it already exists. -o, --take-over Take over the device if it already exists. This option also ensures that the team device is not removed after teamd finishes. -t devicename, --team-dev devicename Use the specified team device name (overrides "device" key in the configuration). -n, --no-ports Start without ports, even if they are listed in the configuration. -D, --dbus-enable Enable D-Bus interface. -Z address, --zmq-enable address Enable ZMQ interface. Possible address formats are "tcp://ip:port", "ipc://path" and others. Detailed description of ZMQ library is in page http://zguide.zeromq.org/page:all. -U, --usock-enable Enable UNIX domain socket interface. This is enabled by default. -u, --usock-disable Disable UNIX domain socket interface. SEE ALSO
teamdctl(8), teamd.conf(5), teamnl(8), bond2team(1) AUTHOR
Jiri Pirko is the original author and current maintainer of libteam. libteam 2013-07-10 TEAMD(8)
All times are GMT -4. The time now is 09:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy