The UNIX and Linux Forums  


Go Back   UNIX e Linux Forum > Inizio Forum > Shell scripting e di programmazione
.
google unix.com



Shell scripting e di programmazione Pubblica domande su KSH, CSH, SH, Bash, Perl, PHP, sed, awk e da altri script di shell e linguaggi di scripting shell qui.

Più di UNIX e Linux Forum Argomenti potreste trovare utili
Filo Thread Starter Forum Risposte Ultimo Post
Come Calcolare krishna_sicsr Shell scripting e di programmazione 3 03-21-2009 01:49 PM
Come calcolare il valore massimo e minimo valore gobinath Shell scripting e di programmazione 1 05-29-2008 01:01 AM
calcolare 13 mesi fa andrea_mussap Shell scripting e di programmazione 3 11-16-2007 03:18 PM
come faccio a calcolare la percentuale? the_learner Di programmazione ad alto livello 6 04-18-2007 05:40 PM
Come Calcolare i dati krishna_sicsr Shell scripting e di programmazione 0 03-25-2007 03:35 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Cerca in questo Thread Rate Thread Modalità di visualizzazione
  #1 (permalink)  
Old 11-09-2005
whatisthis's Avatar
whatisthis whatisthis is offline
Utente Registrato
  
 

Join Date: Aug 2004
Interventi: 175
Come calcolare con awk

Salve,
Ho sotto awk dichiarazione e ho bisogno di convertire il secondo campo (substr ($ 0,8,6)) da minuti a 2 ore con decimail posto. Come faccio a raggiungere questo obiettivo?


/ usr / bin / awk '(print substr ($ 0,23,4), substr ($ 0,8,6))' / tmp / MANAGER_LIST. $ $>> / tmp / NEWMANAGER_LIST. $ $


Grazie per qualsiasi aiuto!
 

Segnalibri

Thread Tools Cerca in questo Thread
Cerca in questo Thread:

Ricerca Avanzata
Modalità di visualizzazione Vota questo thread
Vota questo thread:

Distacco regolamento
Tu non può post nuovo thread
Tu non può inviare una risposta
Tu non può postare allegati
Tu non può modificare i tuoi post

BB codice è Su
Smilies sono Su
[IMG] codice Su
Codice HTML è Chiuso
Trackbacks sono Su
Pingbacks sono Su
Refbacks sono Su




Tutti gli orari sono GMT -4. La data di oggi è 05:23 PM.


Powered by: vBulletin, Copyright © 2000 - 2006, Jelsoft Enterprises Limited. Traduzioni Powered by .
vBCredits v1.4 Copyright © 2007 - 2008, PixelFX Studios
UNIX e Linux Forum Content Copyright © 1993-2009. Tutti i diritti Reserved.Ad di gestione da RedTyger

Contenuti pertinenti URL da vBSEO 3.2.0