[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: split et cat x*



On Thu, 11 Apr 2002, Charles Goyard wrote:

> je viens de découper un fichier avec split, et je vois que pour le
> remettre d'un bloc, il faut utiliser quelque chose comme :
> 
> ~$ cat xaa xab xac ... > fichier
> 
> ou
> 
> ~$ cat x?? > fichier
> 
> Dans le cas où l'on utilise des wildcards, a-t-on une garantie que les
> morceaux seront recollés dans l'ordre ?

Avec GNU Bash 2.x: oui. Avec les autres shells probablement aussi, mais
j'ai pas testé.

Solution qui devrait marcher partout:

cat `ls -1 x??` > fichier

	Cordialement,

--
Vincent RENARDIAS
Directeur Technique
StrongHoldNET / http://www.strongholdnet.com


--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: