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
Aiuto necessarie per favore. jerryboy78 UNIX for Dummies Domande & Risposte 3 03-16-2008 02:06 PM
Scp Help Needed! scooter17 UNIX for Dummies Domande & Risposte 3 09-20-2006 01:50 PM
Taglia help needed !!!!!! scooter17 UNIX for Dummies Domande & Risposte 1 08-15-2006 11:41 AM
taglio help needed !!!!! scooter17 UNIX for Dummies Domande & Risposte 4 08-15-2006 09:48 AM
Help needed Tossico Shell scripting e di programmazione 9 03-18-2006 03:52 PM

 
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-18-2008
ddurden7 ddurden7 is offline
Utente Registrato
  
 

Iscriviti Data: ottobre 2008
Interventi: 5
awk help needed

Come faccio a modificare questo comando in modo che le stampe solo il secondo campo delimitato dalla linea numero 3? In secondo luogo, come si fa a reindirizzare l'output in una variabile chiamata TEST?

Grazie

(cat BATCH007.TXT | awk 'BEGIN (FS \u003d "") (print $ 2)')
 

Segnalibri

Tag
awk variabili, comandi Unix

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 è 09:06 AM.


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