10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm getting below API result and i would like to format them with Shell scripting.
"description": "short desc",
"name_with_namespace": "ABCD-PDFF-PLATFORM-TEST-V1 / test",
"path_with_namespace":... (7 Replies)
Discussion started by: baluchen
2. Shell Programming and Scripting
I have a sample file raw.txt as shown below :
Bay Name : SD-2C
Number of Standby Power Supplies : 4
Number of Drive Enclosures : 12
Summary Status of Contained Modules
All... (6 Replies)
Discussion started by: rahul2662
3. Shell Programming and Scripting
I have created a workflow that will pull down data via a RESTful API in JSON, then my code parses and modifies said data. The problem I have is that these APIs I am working with only accept XML to PUT/POST data, and I am looking for an easy way to convert my JSON file to XML.
... (2 Replies)
Discussion started by: Zaphod_B
4. Shell Programming and Scripting
Is there a Unix or Perl script that converts JSON files to CSV or tab delimited format? We are running AIX 6.1.
Thanks in advance! (1 Reply)
Discussion started by: warpmail
5. Shell Programming and Scripting
Below is the record i have:
sample data attached
I want this record of each row to be in single line and there are multiple rowise unixtime mentioned e.g 11996327 , This needs to be converted to Human readdable data and time from multiple rows
Can you help me , it will be... (10 Replies)
Discussion started by: manishK
6. Shell Programming and Scripting
I am trying to convert my local server timezone EST to UTC and for which I used the TZ command, see below
Thu Dec 6 10:14:14 EST 2012
$ TZ=UTC date -d '10:14 EST'
Thu Dec 6 15:14:00 UTC 2012
Now I would like to have the same output in 'yyyymmdd hh:mm' format.
... (4 Replies)
Discussion started by: vivek_damodaran
7. Shell Programming and Scripting
I have a output like below values
I want to convet this output values into below... (1 Reply)
Discussion started by: kamauv234
8. Shell Programming and Scripting
Hi All ,
Below is the perl code. from below code want to confirm one thing that
wahtever the sequence of data we are passing through json format which contains 3 tuples of different sequences
... (1 Reply)
Discussion started by: aish11
9. Shell Programming and Scripting
I am running below command which is giving following output.
bash-3.00$ ps -eo pid,pcpu,args | sort +1n | grep -i java
12 0.0 grep -i java
8804 0.0 /opt/app/ccr/home/ccr/WebSphere/AppServer/java/bin/sparcv9/java -XX:+UnlockDiag
9241 0.0... (7 Replies)
Discussion started by: coolguyamy
can so help me ? i'm writting a shell srcipt ( UNIX AIX) and I'd like to convert a date as 20041108 in lilian format.
thanks so much (2 Replies)
Discussion started by: chocolate
PLUTIL(1) BSD General Commands Manual PLUTIL(1)
plutil -- property list utility
plutil [command_option] [other_options] file
plutil can be used to check the syntax of property list files, or convert a plist file from one format to another. Specifying - as an input
file reads from stdin.
The first argument indicates the operation to perform, one of:
-help Show the usage information for the command and exit.
-p Print the property list in a human-readable fashion. The output format is not stable and not designed for machine parsing. The
purpose of this command is to be able to easily read the contents of a plist file, no matter what format it is in.
-lint Check the named property list files for syntax errors. This is the default command option if none is specified.
-convert fmt Convert the named file to the indicated format and write back to the file system. If the file can't be loaded due to invalid
syntax, the operation fails.
fmt is one of: xml1, for version 1 of the XML plist format binary1, for version 1 of the binary plist format json, for the
There are a few additional options:
-- Specifies that all further arguments are file names
-s Don't print anything on success.
-r For JSON, add whitespace and indentation to make the output more human-readable.
-o path Specify an alternate path name for the result of the -convert operation; this option is only useful with a single file to be
converted. Specifying - as the path outputs to stdout.
-e extension Specify an alternate extension for converted files, and the output file names are otherwise the same.
The plutil command exits 0 on success, and 1 on failure.
The plutil command obeys no one's rules but its own.
The plutil command first appeared in Mac OS X 10.2.
Mac OS X August 30, 2002 Mac OS X