Sponsored Content
Top Forums Shell Programming and Scripting Double quotes is not present to the directed file Post 302669007 by vel4ever on Tuesday 10th of July 2012 10:31:44 AM
Old 07-10-2012
how to get this dateTime format in enclosed
Code:
date '+%Y'-'%m'-'%d'T'%T'.'%N'

Required o/p
Code:
"2012-07-10T09:31:02.238158000"

 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

Removing double quotes in a file

Hi All, I have a tab delimited file where each of the strings have double quotes. The problem is that I have records which are in the following format: "TEXAS" ""HOUSTON"" "123" "" "2625-39-39" ""MAINE"" "" "456" "I" "3737-39-82" I would have to output... (3 Replies)
Discussion started by: kingofprussia
3 Replies

3. Shell Programming and Scripting

Removal of comma(,) present inbetween double quotes(" ")

Hi Experts, I have a file with some of the records contain double quotes. If I found a double quote(") in any particular record , I need to look for the next double quote in that particular record and in between these quotes, if any comma(,) is there I need to replace with Tilde (~) in the same... (12 Replies)
Discussion started by: vsairam
12 Replies

4. Shell Programming and Scripting

How to parse a file for text b/n double quotes?

Hi guys, I desperately need some help here... I need to parse a file similar to this: I need to read the values for MY_BANNER_SSHD and WARNING_MESSAGE. The value could be empty/single line or multi-line! # Comments . . . Some lines MY_BANNER_SSHD=""... (7 Replies)
Discussion started by: shreeda
7 Replies

5. 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

6. Shell Programming and Scripting

File with double quotes

I have one file a.txt as below. a.txt "aaas","111111","ewwee32e","deee333", "aaas","111111","ewwee32e","deee333", "aaas","111111","ewwee32e","deee333", "aaas","111111","ewwee32e","deee333", I want to write a script to process a.txt and want the output as below in different file as below -... (2 Replies)
Discussion started by: ravigupta2u
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. UNIX for Dummies Questions & Answers

[Solved] Need to inset double quotes in a file

Hi, I have echo "start="\2014"">/tmp/read.txt echo "end="2014"">>/tmp/read.txt more /tmp/read.txt start=2014 end=2014 But i wish to have double quotes in the read.txt start="2014" end="2014" Can you please tell me how ? (1 Reply)
Discussion started by: mohtashims
1 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

10. Shell Programming and Scripting

awk -File contain double quotes

Hi ALL, file data like : test.csv a,b,"c,d" my awk version is 4.0.2 ,if i am using the below code is working fine. awk -vFPAT='(*)|("+")' -vOFS="," '{print $3}' test.csv if the awk version is 3.1.7 is not working . Could you please help me on this one. output should be : "c,d" (6 Replies)
Discussion started by: bmk123
6 Replies
NATURALDOCS(1)						      General Commands Manual						    NATURALDOCS(1)

NAME
NaturalDocs - an extensible, multi-language documentation generator SYNOPSIS
naturaldocs -i <input (source) directory> [-i <input (source) directory> ...] -o <output format> <output directory> [-o <output format> <output directory> ...] -p <project directory> [options] DESCRIPTION
This manual page documents briefly the .B naturaldocs command. Note that naturaldocs is a wrapper script that on Debian invokes the real NaturalDocs perl program. So, the real, original name of the program is NaturalDocs but on Debian systems you invoke it as naturaldocs. Natural Docs is is an open-source, extensible, multi-language documentation generator. You document your code in a natural syntax that reads like plain English. Natural Docs then scans your code and builds high-quality HTML documentation from it. OPTIONS
A summary of options, extracted from the help printed by the -h switch is included below. For a complete description of how NaturalDocs works, see the text files in the /usr/share/doc/naturaldocs directory. Required parameters: -i, --input, --source DIR Specifies an input (source) directory. Required. Can be specified multiple times. -o, --output FMT DIR Specifies an output format and directory. Required. Can be specified multiple times, but only once per directory. Possible output formats are HTML and FramedHTML. -p, --project DIR Specifies the project directory. Required. There needs to be a unique project directory for every source directory. Optional parameters: -s, --style STYLE [STYLE ...] Specifies the CSS style when building HTML output. If multiple styles are specified, they will all be included in the order given. -img, --image DIR Specifies an image directory. Can be specified multiple times. Start with * to specify a relative directory, as in -img */images. -do, --documented-only Specifies only documented code aspects should be included in the output. -t, --tab-length LEN Specifies the number of spaces tabs should be expanded to. This only needs to be set if you use tabs in example code and text dia- grams. Defaults to 4. -xi, --exclude-input, --exclude-source Excludes an input (source) directory from the documentation. Automatically done for the project and output directories. Can be spec- ified multiple times. -nag, --no-auto-group Turns off auto-grouping completely. -oft, --only-file-titles Source files will only use the file name as the title. -r, --rebuild Rebuilds all output and data files from scratch. Does not affect the menu file. -ro, --rebuild-output Rebuilds all output files from scratch. -q, --quiet Suppresses all non-error output. -?, -h, --help Displays syntax reference. AUTHOR
NaturalDocs was written by Greg Valure <gregvalure@naturaldocs.org>. This manual page was written by Federico Di Gregorio <fog@debian.org>, for the Debian project (but may be used by others). May 2007 NATURALDOCS(1)
All times are GMT -4. The time now is 07:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy