10-25-2016
This User Gave Thanks to wisecracker For This Post:
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am creating a small bash file that will take one argument and compile it:
#!/bin/bash
OUT=${$1%.cpp} # C++ source files always end in .cpp
g++ -Wall $1 -o $OUT
chmod 777 $OUT The error message says 'bad substitution', namely where OUT is defined. How to fix this? (1 Reply)
Discussion started by: figaro
1 Replies
2. AIX
Dear All
Last day in Aix 5.2 server by executing
# df –g
I found following:
Filesystem GB blocks Free %Used Iused %Iused Mounted on
.
.
/dev/fslv00 58.00 136.70 -135% 212103 1% /sprod
After shutting down by following command
# shutdown –h
And when... (1 Reply)
Discussion started by: xa52000
1 Replies
3. UNIX for Advanced & Expert Users
hi,
How do I find VxVM volumes which have a mirrored DRL.
thanks in advance
Prasi (2 Replies)
Discussion started by: prasi_in
2 Replies
4. Shell Programming and Scripting
Hi,
nevermind. I think I've found the answer. It appears I was looking for index, match, sub, and gsub.
I want to write a shell script that will clean the html out of a bunch of files and format the data for import into excel.
Awk seems like a powerful tool, but it seems oriented to... (1 Reply)
Discussion started by: yogert909
1 Replies
5. Shell Programming and Scripting
I have a list of multiple versions of software. The list is formated as follows:
NAME VERSION
I simply need to pull out the highest version of each software, for example:
Original File
a v1.0
a v1.1
a v1.2
b v2.1
b v2.2
b v2.21
b v3.0
Output
a v1.2
b v3.0 (13 Replies)
Discussion started by: Finja
13 Replies
6. UNIX for Advanced & Expert Users
Good morning!
I met a problem on a FS with AIX 5.3
It's not possible to mount the FS because of a dirty superblock.
I tried few things without success. I need your help to solve my problem guys. Do you have any idea please?
Thanks a lot
drp01,/home/root # mount /GSPRES/data
Replaying... (9 Replies)
Discussion started by: Castelior
9 Replies
7. Linux
So I'm having a problem getting a Broadcom BCM4312 wireless controller to work under the broadcom-wl module
$uname
Linux 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lspci -v
05:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g... (2 Replies)
Discussion started by: Skrynesaver
2 Replies
LEARN ABOUT MOJAVE
uri::url
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences exist compared to the "URI" class interface:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs.
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path: same as ($uri->abs_path || "/")
o $url->netloc: same as $uri->authority
o $url->epath, $url->equery: same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters)
o $url->params and $url->eparams methods
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag: same as $uri->fragment
o $url->keywords: same as $uri->query_keywords
o $url->localpath and friends map to $uri->file.
o $url->address and $url->encoded822addr: same as $uri->to for mailto URI
o $url->groupart method for news URI
o $url->article: same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.18.2 2012-02-11 URI::URL(3)