Sponsored Content
Top Forums Shell Programming and Scripting UNIX in the MacIntosh (for sed people) Post 302090789 by hitmansilentass on Wednesday 27th of September 2006 01:44:27 PM
Old 09-27-2006
Not sure of MAC, anyways try this one

Code:
sed 1,$"s/^/' '/g"

Or with awk

Code:
awk '{gsub("^"," ")}'

 

9 More Discussions You Might Find Interesting

1. Where do I download LINUX & UNIX?

Unix for Macintosh

Hi all, I'm a Mac-user (imac se at the moment), using Mac OS 9.1 I really want to learn how to work with unix-systems. What is the best place for me to start? Where can i download a system? Can i still use my imac as a software basestation for an ibook running OS 9.1? It seems like i... (9 Replies)
Discussion started by: Icarus
9 Replies

2. UNIX for Advanced & Expert Users

Is Unix a Network operating system for Macintosh computers

I am in the process of reading up on and learning about linux,and as i read, i am seeing that it was built off of the unix system platform,and i also believe that it is used in the mac computer field,i would like to know if this is true, and if i should learn about the macintosh computer... (2 Replies)
Discussion started by: Bill1263
2 Replies

3. UNIX for Dummies Questions & Answers

Macintosh user needs help with pop3d

Hi folks! I am not a power user, and have been able to enable Postfix to run on my Macintosh. It was a little bit difficult for me. But I payed good attention, while following an Internet Tutorial. Postfix version 2.1.5 I can send out emails, from local accounts or even from other... (0 Replies)
Discussion started by: fundidor
0 Replies

4. UNIX for Dummies Questions & Answers

Unix for MS People

Hello Unix gods! I'm probably a pretty good programmer (on the windows/web/asp/iis side of things) with a good background in IT, but am looking for a new and fresh challenge, hence, I purchased a Sun Ultra5 system with Solaris 7 installed!! I'm quite good when it comes to "IBM compatibles" and... (2 Replies)
Discussion started by: NEWX
2 Replies

5. UNIX for Dummies Questions & Answers

What are people using for Centralized Unix Administration

What are people using for Centralized Unix Administration? I'm not just talking user administration, I'm also talking system administration. I prefer a customized SSH enivonment that allows me to connect to server after server quickly to perform multiple tasks at once. I know there are products... (0 Replies)
Discussion started by: x96riley3
0 Replies

6. Shell Programming and Scripting

send a message through email to 5 people using unix script?

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent.How to do it?Please reply.thanks! Thanks, Mary. (2 Replies)
Discussion started by: MARY76
2 Replies

7. UNIX for Advanced & Expert Users

send a message through email to 5 people using unix script.

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent. Thanks, Mary. (3 Replies)
Discussion started by: MARY76
3 Replies

8. UNIX for Dummies Questions & Answers

macintosh

hello, i am new to this forum. i own a macbook pro running mac os x 10.5.2 leopard. just wondering, if these forums will help me? i work a lot in an application called terminal, it is apples command line. i like programming and have questions, like there was a post about text scrolling, the... (2 Replies)
Discussion started by: jamesapp
2 Replies

9. UNIX for Dummies Questions & Answers

Looking for application that simplifies for non techie people accessing unix/linux env

Hello all I searched the net but didn't found any application that wrap ssh connection with GUI interface so that non techie people can connect to unix/linux accounts and work with files , so it will looks like there familiar Microsoft windows directory structure . Please don't answer with ..... (6 Replies)
Discussion started by: umen
6 Replies
Locale::Codes::LangVar(3pm)				 Perl Programmers Reference Guide			       Locale::Codes::LangVar(3pm)

NAME
Locale::Codes::LangVar - standard codes for language variation identification SYNOPSIS
use Locale::Codes::LangVar; $lvar = code2langvar('acm'); # $lvar gets 'Mesopotamian Arabic' $code = langvar2code('Mesopotamian Arabic'); # $code gets 'acm' @codes = all_langvar_codes(); @names = all_langvar_names(); DESCRIPTION
The "Locale::Codes::LangVar" module provides access to standard codes used for identifying language variations, such as those as defined in the IANA language registry. Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default IANA language registry codes will be used. SUPPORTED CODE SETS
There are several different code sets you can use for identifying language variations. A code set may be specified using either a name, or a constant that is automatically exported by this module. For example, the two are equivalent: $lvar = code2langvar('en','alpha-2'); $lvar = code2langvar('en',LOCALE_CODE_ALPHA_2); The codesets currently supported are: alpha This is the set of alphanumeric codes from the IANA language registry, such as 'arevela' for Eastern Armenian. This code set is identified with the symbol "LOCALE_LANGVAR_ALPHA". This is the default code set. ROUTINES
code2langvar ( CODE [,CODESET] ) langvar2code ( NAME [,CODESET] ) langvar_code2code ( CODE ,CODESET ,CODESET2 ) all_langvar_codes ( [CODESET] ) all_langvar_names ( [CODESET] ) Locale::Codes::LangVar::rename_langvar ( CODE ,NEW_NAME [,CODESET] ) Locale::Codes::LangVar::add_langvar ( CODE ,NAME [,CODESET] ) Locale::Codes::LangVar::delete_langvar ( CODE [,CODESET] ) Locale::Codes::LangVar::add_langvar_alias ( NAME ,NEW_NAME ) Locale::Codes::LangVar::delete_langvar_alias ( NAME ) Locale::Codes::LangVar::rename_langvar_code ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangVar::add_langvar_code_alias ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangVar::delete_langvar_code_alias ( CODE [,CODESET] ) These routines are all documented in the Locale::Codes::API man page. SEE ALSO
Locale::Codes The Locale-Codes distribution. Locale::Codes::API The list of functions supported by this module. http://www.iana.org/assignments/language-subtag-registry The IANA language subtag registry. AUTHOR
See Locale::Codes for full author history. Currently maintained by Sullivan Beck (sbeck@cpan.org). COPYRIGHT
Copyright (c) 2011-2012 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.2 2012-10-11 Locale::Codes::LangVar(3pm)
All times are GMT -4. The time now is 04:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy