this is my first go at any bash scripting and i'm struggling with handling jquery. I've got the jq library installed and working. i'm working out of Ubuntu and my JQuery looks like this, some info is censored with #.
What i'd like to do is iterate through this so like so....
This is the error i'm getting
I've got a web dev background and a bit of PS. Dealing with JQuery in Shell so far has been a nightmare. Can anybody tell me what i'm doing wrong???
Thanks,
DSFX
Last edited by Scrutinizer; 01-18-2020 at 08:45 PM..
Reason: quote tags -> code tags
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to... (14 Replies)
I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Gents,
I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Hey I have a data in the file named as outputFile.txt. The data is in the format
123456,12345678912345,400,09/09/09,INACTIVE.
I want this output without commas ie
12345612345678912345400090909INACTIVE.
Please tell me what to do and clear explain all the terms, as I am new to it. (6 Replies)
Hi, if in a network there are lots of PCs connected with either windows or linux as operating system.Then what will be the shell script for the same and also if the PC has linux in it then we have to find if it is occupied or unoccupied.
If the PC has windows in it then we have to find if it is... (6 Replies)
Hi there
please have a look at the code..i want to create Using a named pipe. Run a find in the background starting in the working directory
While this is happening wait for input from the user to ask him which file to find.
If the user does not enter any data in 10 seconds ask the user again.... (1 Reply)
DPKG::Log::Analyse::Package(3pm) User Contributed Perl Documentation DPKG::Log::Analyse::Package(3pm)NAME
DPKG::Log::Analyse::Package - Describe a package as analysed from a dpkg.log
VERSION
version 1.20
SYNOPSIS
use DPKG::Log;
my $package = DPKG::Log::Analyse::Package->new('package' => 'foobar');
DESCRIPTION
This module is used to analyse a dpkg log.
METHODS
$package = DPKG::Log::Analyse::Package->new('package' => 'foobar')
Returns a new DPKG::Log::Analyse::Package object.
$package_name = $package->name;
Returns the name of this package.
$package->version
Return or set the version of this package.
$package->previous_version
Return or set the previous version of this package.
$package->status
Return or set the status of this package.
equals($package1, $package2);
print "equal" if $package1 eq $package2
Compares two packages in their string representation.
compare($package1, $package2)
print "greater" if $package1 > $package2
Compare two packages. See OVERLOADING for details on how the comparison works.
$package_str = $package->as_string
printf("Package name: %s", $package);
Return this package as a string. This will return the package name and the version (if set) in the form package_name/version. If
version is not set, it will return the package name only.
Overloading
This module explicitly overloads some operators. Each operand is expected to be a DPKG::Log::Analyse::Package object.
The string comparison operators, "eq" or "ne" will use the string value for the comparison.
The numerical operators will use the package name and package version for comparison. That means a package1 == package2 if package1->name
equals package2->name AND package1->version == package2->version.
The module stores versions as Dpkg::Version objects, therefore sorting different versions of the same package will work.
This module also overloads stringification returning either the package name if no version is set or "package_name/version" if a version is
set.
SEE ALSO
DPKG::Log, DPKG::Version
AUTHOR
Patrick Schoenfeld <schoenfeld@debian.org>.
COPYRIGHT AND LICENSE
Copyright (C) 2011 Patrick Schoenfeld <schoenfeld@debian.org>
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
perl v5.10.1 2011-02-23 DPKG::Log::Analyse::Package(3pm)