Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Adding "Private" to path name Post 56853 by roadrunnerray on Wednesday 13th of October 2004 09:57:11 AM
Old 10-13-2004
OK, I answered one of my questions after reading "Unix Power Tools" (O'Reilly). Using "ls -d */." will list all directories from the current directory down without the associated files........
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

Perl hashes "Can't use subscript on private hash"

This is driving me mad, where am I going wrong? The relevant segment of code: sub getndsybcons { my @servers=@{$_}; my @sybservers=@{$_}; my %results; foreach my $server(@servers) { my $biggestsyb; my $biggestsybval=0; ... (9 Replies)
Discussion started by: Smiling Dragon
9 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Shell Programming and Scripting

"find . -printf" without prepended "." path? Getting path to current working directory?

If I enter (simplified): find . -printf "%p\n" then all files in the output are prepended by a "." like ./local/share/test23.log How can achieve that a.) the leading "./" is omitted and/or b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Suggestion: adding two new groups "sed" and "awk"

Majority of the questions are pertaining file/string parsing w.r.t sed or awk It would be nice to have these two as their own sub category under shell-programming-scripting which can avoid lot of duplicate posts. (1 Reply)
Discussion started by: jville
1 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Shell Programming and Scripting

find . -path "*_nobackup*" -prune -iname "*.PDF" \( ! -name "*_nobackup.*" \)

These three finds worked as expected: $ find . -iname "*.PDF" $ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \) $ find . -path "*_nobackup*" -prune -iname "*.PDF" They all returned the match: ./folder/file.pdf :b: This find returned no matches: $ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
Gnome2::Config(3pm)					User Contributed Perl Documentation				       Gnome2::Config(3pm)

NAME
Gnome2::Config METHODS
boolean = Gnome2::Config->get_bool ($path) o $path (string) boolean = Gnome2::Config::Private->get_bool ($path) o $path (string) Gnome2::Config->set_bool ($path, $value) o $path (string) o $value (boolean) Gnome2::Config::Private->set_bool ($path, $value) o $path (string) o $value (boolean) list = Gnome2::Config->get_bool_with_default ($path) o $path (string) Returns a boolean indicating whether the default was used and the actual value. list = Gnome2::Config::Private->get_bool_with_default ($path) o $path (string) Gnome2::Config->clean_file ($path) o $path (string) Gnome2::Config::Private->clean_file ($path) o $path (string) Gnome2::Config->clean_key ($path) o $path (string) Gnome2::Config::Private->clean_key ($path) o $path (string) Gnome2::Config->clean_section ($path) o $path (string) Gnome2::Config::Private->clean_section ($path) o $path (string) Gnome2::Config->drop_all Gnome2::Config->drop_file ($path) o $path (string) Gnome2::Config::Private->drop_file ($path) o $path (string) double = Gnome2::Config->get_float ($path) o $path (string) double = Gnome2::Config::Private->get_float ($path) o $path (string) Gnome2::Config->set_float ($path, $value) o $path (string) o $value (double) Gnome2::Config::Private->set_float ($path, $value) o $path (string) o $value (double) list = Gnome2::Config->get_float_with_default ($path) o $path (string) Returns a boolean indicating whether the default was used and the actual value. list = Gnome2::Config::Private->get_float_with_default ($path) o $path (string) boolean = Gnome2::Config->has_section ($path) o $path (string) boolean = Gnome2::Config::Private->has_section ($path) o $path (string) scalar = Gnome2::Config->init_iterator ($path) o $path (string) scalar = Gnome2::Config::Private->init_iterator ($path) o $path (string) scalar = Gnome2::Config->init_iterator_sections ($path) o $path (string) scalar = Gnome2::Config::Private->init_iterator_sections ($path) o $path (string) integer = Gnome2::Config->get_int ($path) o $path (string) integer = Gnome2::Config::Private->get_int ($path) o $path (string) Gnome2::Config->set_int ($path, $value) o $path (string) o $value (integer) Gnome2::Config::Private->set_int ($path, $value) o $path (string) o $value (integer) list = Gnome2::Config->get_int_with_default ($path) o $path (string) Returns a boolean indicating whether the default was used and the actual value. list = Gnome2::Config::Private->get_int_with_default ($path) o $path (string) Gnome2::Config->pop_prefix Gnome2::Config->push_prefix ($path) o $path (string) string = Gnome2::Config->get_real_path ($path) o $path (string) string = Gnome2::Config::Private->get_real_path ($path) o $path (string) string = Gnome2::Config->get_string ($path) o $path (string) string = Gnome2::Config::Private->get_string ($path) o $path (string) Gnome2::Config->set_string ($path, $value) o $path (string) o $value (string) Gnome2::Config::Private->set_string ($path, $value) o $path (string) o $value (string) list = Gnome2::Config->get_string_with_default ($path) o $path (string) Returns a boolean indicating whether the default was used and the actual value. list = Gnome2::Config::Private->get_string_with_default ($path) o $path (string) boolean = Gnome2::Config->sync boolean = Gnome2::Config->sync_file ($path) o $path (string) boolean = Gnome2::Config::Private->sync_file ($path) o $path (string) string = Gnome2::Config->get_translated_string ($path) o $path (string) string = Gnome2::Config::Private->get_translated_string ($path) o $path (string) Gnome2::Config->set_translated_string ($path, $value) o $path (string) o $value (string) Gnome2::Config::Private->set_translated_string ($path, $value) o $path (string) o $value (string) list = Gnome2::Config->get_translated_string_with_default ($path) o $path (string) list = Gnome2::Config::Private->get_translated_string_with_default ($path) o $path (string) scalar = Gnome2::Config->get_vector ($path) o $path (string) scalar = Gnome2::Config::Private->get_vector ($path) o $path (string) Gnome2::Config->set_vector ($path, $value) o $path (string) o $value (scalar) Gnome2::Config::Private->set_vector ($path, $value) o $path (string) o $value (scalar) list = Gnome2::Config->get_vector_with_default ($path) o $path (string) Returns a boolean indicating whether the default was used and the actual value. list = Gnome2::Config::Private->get_vector_with_default ($path) o $path (string) SEE ALSO
Gnome2 COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::Config(3pm)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy