zsh-users
 help / color / mirror / code / Atom feed
* splitting and assigning
@ 2014-05-24  5:43 meino.cramer
  2014-05-24 14:27 ` Kurtis Rader
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: meino.cramer @ 2014-05-24  5:43 UTC (permalink / raw)
  To: zsh-users

Hi,

I have a looooooong list, whgich consists
of a 32 character long checksum (from md5sum),
two spaces and a absolute path with the checksummed file.

I want to split each line into two parts:
the checksum and the path/file and assign each part 
to a separate variable.

I tried to put this into a one-liner and failed using
${(s:  :)line}.

How can I do that?

Best regards and have a nice weekend!
Best regards,
mcc




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-25  3:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-24  5:43 splitting and assigning meino.cramer
2014-05-24 14:27 ` Kurtis Rader
2014-05-24 15:12 ` Eric Cook
2014-05-25  3:20 ` S. Cowles

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).