Sponsored Content
Top Forums Shell Programming and Scripting Use double quotes as part of the string in a Bash array Post 302803949 by os2mac on Tuesday 7th of May 2013 05:33:02 PM
Old 05-07-2013
Thank you, Yoda

strong with the fu you are....
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Add double quotes around the string

I have a line in multiple scripts:select into table /dir1/dir2/file.dat dir1 and dir2 are the same but file.dat is different from script to script. I need to include /dir1/dir2/file.dat into double quotes in each file of my directory:select into table "/dir1/dir2/file.dat" (13 Replies)
Discussion started by: surfer515
13 Replies

2. Shell Programming and Scripting

how to find the count of commas in a string excluding the ones in double quotes

Hi, my requirement is to find the count of commas in a string excluding the ones in double quotes. For example: If the input string is abc,xyz.com,lmhgdf,"abc, 401 street","tty,stt",45,23,45 The output should be 7 (7 Replies)
Discussion started by: amitshete
7 Replies

3. UNIX for Dummies Questions & Answers

how to use grep: finding a string with double quotes and multiple digits

I have a file with a lot of lines (a lot!) that contain 10 digits between double quotes. ie "1726937489". The digits are random throughout, but always contain ten digits. I can not for the life of me, (via scouring the internet and grep how-to manuals) figure out how to find this when I search.... (3 Replies)
Discussion started by: titusbass
3 Replies

4. Shell Programming and Scripting

How to count number of double quotes in bash

Need a little help. I have just a simple string with a lot double quotes in it. I need to be able to parse through this string, and know how many double quotes I have, and where I am, so I can key off every 9th double quote. For example (coding is not complete): #!/bin/bash count=0... (3 Replies)
Discussion started by: Akilleez
3 Replies

5. Shell Programming and Scripting

Nested double quotes won't work in my bash script?

In a bash script I have: LSCMD="find /project/media/ -mindepth 2 -maxdepth 2 -name \"files*pkg\"" ALL_PACKAGES=$( $LSCMD | sort 2>/dev/null) But I get nothing returned. It's just all blank. If I run the find command in a terminal, I get dozens of hits. I figure it's the way how I'm... (3 Replies)
Discussion started by: superbbrr
3 Replies

6. Shell Programming and Scripting

How to find a string with double quotes?

I have thousands of files in a directory. I need to find/list all files that have the below matching string - RETURNCODE: "1017" Thank you! (5 Replies)
Discussion started by: esmgr
5 Replies

7. Shell Programming and Scripting

Replace double quotes with a single quote within a double quoted string

Hi Froum. I have tried in vain to find a solution for this problem - I'm trying to replace any double quotes within a quoted string with a single quote, leaving everything else as is. I have the following data: Before: ... (32 Replies)
Discussion started by: pchang
32 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

sed command to replace string that contain blackslash,double quotes

Hi All, I have been trying to replace a string using the sed command string value contain blackslash and double quotes. I am not a expert writer of unix script but do try not to ask question. I have almost given up. Hope you all can give me some suggestion I want to replace a place string... (6 Replies)
Discussion started by: thanush9sep
6 Replies

10. 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
LTSCOMPARE(1)							   User Commands						     LTSCOMPARE(1)

NAME
ltscompare - compare two LTSs SYNOPSIS
ltscompare [OPTION]... [INFILE1] INFILE2 DESCRIPTION
Determine whether or not the labelled transition systems (LTSs) in INFILE1 and INFILE2 are related by some equivalence or preorder. If INFILE1 is not supplied, stdin is used. The input formats are determined by the contents of INFILE1 and INFILE2. Options --in1 and --in2 can be used to force the input format of INFILE1 and INFILE2, respectively. The supported formats are: 'aut' for the Aldebaran format (CADP), 'dot' for the GraphViz format, 'fsm' for the Finite State Machine format, 'lts' for the mCRL2 LTS format, or 'svc' for the SVC format OPTIONS
OPTION can be any of the following: -c, --counter-example generate counter example traces if the input lts's are not equivalent -eNAME, --equivalence=NAME use equivalence NAME: 'bisim' for strong bisimilarity, 'branching-bisim' for branching bisimilarity, 'dpbranching-bisim' for divergence preserving branching bisimilarity, 'sim' for strong simulation equivalence, 'trace' for strong trace equivalence, or 'weak-trace' for weak trace equivalence (not allowed in combination with -p/--preorder) -iFORMAT, --in1=FORMAT use FORMAT as the format for INFILE1 (or stdin) -jFORMAT, --in2=FORMAT use FORMAT as the format for INFILE2 -pNAME, --preorder=NAME use preorder NAME: 'sim' for strong simulation preorder, 'trace' for strong trace preorder, or 'weak-trace' for weak trace preorder (not allowed in combination with -e/--equivalence) --tau=ACTNAMES consider actions with a name in the comma separated list ACTNAMES to be internal (tau) actions in addition to those defined as such by the input --timings[=FILE] append timing measurements to FILE. Measurements are written to standard error if no FILE is provided Standard options: -q, --quiet do not display warning messages -v, --verbose display short intermediate messages -d, --debug display detailed intermediate messages --log-level=LEVEL display intermediate messages up to and including level -h, --help display help information --version display version information AUTHOR
Written by Muck van Weerdenburg. REPORTING BUGS
Report bugs at <http://www.mcrl2.org/issuetracker>. COPYRIGHT
Copyright (C) 2012 Technische Universiteit Eindhoven. This is free software. You may redistribute copies of it under the terms of the Boost Software License <http://www.boost.org/LICENSE_1_0.txt>. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
See also the manual at <http://www.mcrl2.org/mcrl2/wiki/index.php/User_manual/ltscompare>. ltscompare mCRL2 toolset 201202.0 (Release) April 2012 LTSCOMPARE(1)
All times are GMT -4. The time now is 05:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy