Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

git-sh-i18n(1) [linux man page]

GIT-SH-I18N(1)							    Git Manual							    GIT-SH-I18N(1)

NAME
git-sh-i18n - Git's i18n setup code for shell scripts SYNOPSIS
. "$(git --exec-path)/git-sh-i18n" DESCRIPTION
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new ones. The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git's porcelain programs implemented in shell script. It provides wrappers for the GNU gettext and eval_gettext functions accessible through the gettext.sh script, and provides pass-through fallbacks on systems without GNU gettext. FUNCTIONS
gettext Currently a dummy fall-through function implemented as a wrapper around printf(1). Will be replaced by a real gettext implementation in a later version. eval_gettext Currently a dummy fall-through function implemented as a wrapper around printf(1) with variables expanded by the git-sh- i18n--envsubst(1) helper. Will be replaced by a real gettext implementation in a later version. GIT
Part of the git(1) suite Git 1.8.5.3 01/14/2014 GIT-SH-I18N(1)

Check Out this Related Man Page

GIT-SH-I18N(1)							    Git Manual							    GIT-SH-I18N(1)

NAME
git-sh-i18n - Git's i18n setup code for shell scripts SYNOPSIS
. "$(git --exec-path)/git-sh-i18n" DESCRIPTION
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new ones. The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git's porcelain programs implemented in shell script. It provides wrappers for the GNU gettext and eval_gettext functions accessible through the gettext.sh script, and provides pass-through fallbacks on systems without GNU gettext. FUNCTIONS
gettext Currently a dummy fall-through function implemented as a wrapper around printf(1). Will be replaced by a real gettext implementation in a later version. eval_gettext Currently a dummy fall-through function implemented as a wrapper around printf(1) with variables expanded by the git-sh- i18n--envsubst(1) helper. Will be replaced by a real gettext implementation in a later version. GIT
Part of the git(1) suite Git 1.7.10.4 11/24/2012 GIT-SH-I18N(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need a simple script

I have just recently decided to install Unix on one of my home computers, and I am enjoying it so far. However, I have no knowledge of writing computer programs or scripts. What I need to accomplish is a way for me to create backup copies of certain files, but I want to be able to just type all of... (10 Replies)
Discussion started by: Relykk
10 Replies

2. Shell Programming and Scripting

getting the path part of an argument

Seems I'm inundating this forum with questions, but anyway: I am writing a script that should accept one and only one argument when called. That argument should designate a file, either with path/filename or just filename. Now to the difficult bit: I want to figure out a way to store... (9 Replies)
Discussion started by: ropers
9 Replies

3. Shell Programming and Scripting

Count script wrapper help

I have this a code that I got help with for another task. I since tried to modify it to work on this task. I need someones expertise to modify it slightly and I am not sure where to start or yet fully understand the logic. I am trying to get a script to read my m-names.txt which has lots... (19 Replies)
Discussion started by: richsark
19 Replies

4. Shell Programming and Scripting

Using Echo

Hi All, Need help in resoving the issue . Can anyone let me know how to get fix length using unix shellscript. For Ex: echo "NUMBER OF RECORDS "${NO_OF_ROWS}"\nFILE CREATION DATE&TIME "${PROD_DT}" output should be : NUMBER OF RECORDS 2546 CREATIN DATE&TIME 2009-12-01 Each... (14 Replies)
Discussion started by: Samtel
14 Replies

5. Shell Programming and Scripting

Question about partial searching

Hi there! New user to UNIX scripting. Had a question I was stuck on. I've been trying to make a script(for a larger project) that would search a file(lets say playerlist). the file is already formatted into columns so it may look like First name(1-10) Last Name(11-20) address (21-30) ... (23 Replies)
Discussion started by: Sagramor
23 Replies

6. Shell Programming and Scripting

Comparision of two huge unix files - Reconcilation

Hi, I have two huge file; each one has approximately 150000 lines. I need to compare both of them and store the unmatched lines into a different file. I have searched for everything in google but did not get solution. Files are: File1 NRALBAMINDB20003726 NRALBAMINDB20003727... (16 Replies)
Discussion started by: Suman Singh
16 Replies

7. Shell Programming and Scripting

ISSUE IN main script

Hi , I have a script that will move files which have a datetime >= currentdate-N from a source to destination folder.the input parameter are 1) Configurable N days value,2) source folderand 3) destination folder and finally the output would be The old files are moved...I have developed the... (14 Replies)
Discussion started by: nks342
14 Replies

8. Shell Programming and Scripting

Spaces in filenames screwing things up...

Here's the code... obviously #!/bin/bash SRC=$1 function main { validate run } function validate { if ]; then printf "You need to supply a source.\n"; exit 1; elif ]; then printf "This is a... (18 Replies)
Discussion started by: Binary Buddha
18 Replies

9. Shell Programming and Scripting

Problems with awk printf, formatted output

Hi, i have a script, which is incomplete, am on my way developing it. Input 1,12,2012,IF_TB001 2,12,2012,3K3 3,Z56,00000,25,229,K900,00, ,3G3, ,USD, ,0000000000,000, , , , 550000000 3,Z56,00000,53,411,W225,00,000, , ,USD,OM170,0000000000,000, , , , -550000000 4,Z56,COUNT, 4,SUM LOC,... (19 Replies)
Discussion started by: selvankj
19 Replies

10. Shell Programming and Scripting

Need help in printf in shell script

My requirement is need to add spaces to the string with the dynamic value to printf... this is a part of shell script ..which i have , the length is not static ... length=15 value="1234567890" printf "%-"$length"s\n" "$value"; The result it is printing is ... i am not sure y it is... (19 Replies)
Discussion started by: greenworld123
19 Replies

11. Shell Programming and Scripting

Help with the awk syntax

Hello Experts: While writing a script to help one of the posts on here, I end up writing a wrong one. I am very much eager to know how this can be corrected. Aim was to not print specified columns - lets say out of 100 fields, need to print all but 5th, 10th, 15th columns. Someone already... (13 Replies)
Discussion started by: juzz4fun
13 Replies

12. Shell Programming and Scripting

Disk space threshold report

Hi All, I have a code which will give me the result of the diskspace which reached the threshold limit 70% and am redirecting it to report.txt . The code is given below. df -g | awk '+$4 >= 70 {print}' >report.txt Now i need your help , I need to use IF ELSE condition statment for... (17 Replies)
Discussion started by: Kalaihari
17 Replies

13. Shell Programming and Scripting

Removing cr,lf till number of fields are full

I have a file 1|2|3|4 a|b|c|d 1|2 3|4 a| b| c| d| The file should have 4 fields to load into a database. The file may have cr, lf, or end of line characters. What I want to see as output is 1|2|3|4 a|b|c|d 1|23|4 a|b|c|d I have tried (17 Replies)
Discussion started by: tampatim
17 Replies

14. Shell Programming and Scripting

Extract lines between patterns

I have a list in the format below, how do I read through the list and extract the lines between the ##START## and ##END##, so i can check for specific values between each ##START## & ##END## pattern ##START## RANDOMTEXT DFGSD SDFSDF ##END## ##START## morestuff sdfggfg sdfsdf... (10 Replies)
Discussion started by: squrcles
10 Replies

15. Shell Programming and Scripting

Vlookup using Ask from specific column shell script

Input file1 frame1,dummy,server1, 00C1C N/A RDF1+TDEV RW 51789 frame1,dummy,server1, 00C1D N/A RDF1+TDEV RW 51789 frame1,dummy,server1, 00C1E N/A RDF1+TDEV RW 51789 frame1,dummy,server1, 00C1F N/A RDF1+TDEV RW 51789 frame1,dummy,server1, 00C20 N/A RDF1+TDEV RW 51789 frame1,dummy,server1,... (10 Replies)
Discussion started by: ranjancom2000
10 Replies