304 reputation
113
bio website arp242.net
location Eindhoven, Netherlands
age 29
visits member for 1 year, 9 months
seen 2 days ago

Programmer of stuff. Also something of a UNIX addict. You can check out my code projects at http://code.arp242.net

If you feel the need to contact me in private, you can email me at martin@arp242.net.


Dec
17
revised sed with multiple expression for in-place arguement
This question doesn't seem to be related to tcsh
Dec
17
suggested approved edit on sed with multiple expression for in-place arguement
Dec
4
comment how to get list of shortcuts
@KasiyA You seem confused about the difference between a shell, and a terminal. Not only that, this question is tagged as [xterm], not [gnome-terminal]...
Dec
4
comment how to get list of shortcuts
tcsh doesn't use the readline library; you seem to have assumed that this is a bash question, which it is not (so this answer is wrong)...
Dec
4
revised how to get list of shortcuts
added 283 characters in body
Dec
4
answered how to get list of shortcuts
Dec
3
awarded  Explainer
Dec
3
revised append time to log filenames
OP intended to use backticks, not single quotes
Dec
3
suggested approved edit on append time to log filenames
Dec
3
comment append time to log filenames
@JigarGandhi Are you sure you didn't do set $now = .. somewhere? Variables from set take precedence over setenv. Maybe in your tcshrc? try using a different variable name (environment variables are often ALL CAPS exactly to present this sort of conflict).
Dec
3
comment append time to log filenames
@JigarGandhi This answer i mistaken anyway, and won't work.
Dec
3
comment append time to log filenames
@JigarGandhi Not sure what's doing on there ... Maybe you made a typo ... Perhaps you can copy/paste everything you did exactly to pastebin, that works better than comments.
Dec
3
revised append time to log filenames
added 291 characters in body
Dec
3
comment append time to log filenames
Re: The actual answer; let us ignore that setenv won'twork here, you can't just set en environment variable from a crontab, the is different for every process. This will just set it for the crontab process.
Dec
3
comment append time to log filenames
@muru $() syntax doesn't work in tcsh, that's Bourne sytax. In tcsh, you can only use backticks.
Dec
3
answered append time to log filenames
Dec
3
comment append time to log filenames
@JigarGandhi You don't edit /usr/bin/crontab; it's a command that you execute.
Dec
1
comment Event not found in sed call in csh script
You can also disable history expansion with set histchars. The histchars variable contains which characters to use for history expansion (you can reset this to the default with set histchars = "!^").
Dec
1
comment Event not found in sed call in csh script
It doesn't point to a correct solution, since set +H doesn't work in tcsh, and neither does sed_code=":again;\$\!N;\$\!b again; s/{[^}]*}//g". You did make a good estimate as to the problem, but IMHO this is not enough to qualify as a decent answer.
Dec
1
comment Event not found in sed call in csh script
It seems to be a law that every (t)csh question has at least one answer from a (knowledgeable) bash/zsh user, with an answer that doesn't apply to tcsh, or doesn't work...